Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8295065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T14:27:17+00:00 2026-06-08T14:27:17+00:00

I have a project that is build with Maven, and ends up creating a

  • 0

I have a project that is build with Maven, and ends up creating a WAR. The War is deployed to a Tomcat 7 server. When I attempt to create a JasperReport, I get the following error. Does anyone know the solution to this? The JasperReports depenedency includes that file in question. I am currently using JasperReports 4.1.2, and even remains in 4.6.0.

net.sf.jasperreports.engine.JRException: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 422; schema_reference.4: Failed to read schema document 'tomcat-7/work/Catalina/loader/net/sf/jasperreports/engine/dtds/jasperreport.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
    at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:247)
    at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:230)
    at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:218)
    at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:196)
    at GeneralReport.processRequest(GeneralReport.java:80)
    at GeneralReport.doGet(GeneralReport.java:140)
    at javax.servlet.http.HttpServlet.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(Unknown Source)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T14:27:18+00:00Added an answer on June 8, 2026 at 2:27 pm

    The problem I had was due to NetBeans, and Tomcat7. Netbeans starts up tomcat with a scratch directory that is Catalina/work. With the default install of tomcat, that is not setup under that directory. I believe it is /var/tmp/tomcat7. But anyways, Netbeans is set in it’s ways. So to fix that, create a work directory under the catalina folder and then allow for full user/group privilleges here.

    How this related to JasperReports: The dependency could not get deployed to the directory that it was expecting.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Java multi-module Maven project that I want to build an MVN
I'm working in a project that already have a build process running with maven
I have a maven project that I want to build without version. Now, when
I have a maven build that creates an ear wich is deployed to Glassfish
We have a project that uses Maven as its build/dependency management tool. But our
I have a small maven project that build a java jar file. I added
I have a project that needs the following Maven jibx plugin: <build> <plugins> <plugin>
I have a project that uses the maven-assembly-plugin to create source and binary tar
I have a web application that I build with Maven into a war. But
I have a project that is built and managed by Maven. I have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.