Compile *.jrxml without internet connection

0

Hi,


Do you know any possibility of compiling a report in JAVA  without an internet connection? Like replace external xsd "http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" something else.

When i compile my maven application i got error like "no schema access"

regards

Wiewioor222's picture
Joined: Dec 28 2018 - 1:24am
Last seen: 10 months 2 weeks ago

3 Answers:

1

Did you try building Maven application with local dependencies ? With the local dependencies, Maven tries to fetch all the dependencies from the m2 repository instead of connecting to remote repos. 

https://stackoverflow.com/questions/4955635/how-to-add-local-jar-files-t...

reportdev's picture
1222
Joined: Oct 12 2015 - 12:05pm
Last seen: 3 months 1 week ago
1

Internet connection is not necessary to compile a report. I the program is trying to access the internet to fetch xsd file, there's something wrong with your program. Check the version of libraries in your classpath to make sure they are all correct.

hozawa's picture
52452
Joined: Apr 24 2010 - 4:31pm
Last seen: 5 months 1 week ago
0

I'm using the Liquibase framework and it validating my schema in a package. I solved my problem by moving files to other resources. :)

Wiewioor222's picture
Joined: Dec 28 2018 - 1:24am
Last seen: 10 months 2 weeks ago
Feedback
randomness