Wiewioor222 Posted December 28, 2018 Share Posted December 28, 2018 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 Link to comment Share on other sites More sharing options...
reportdev Posted December 29, 2018 Share Posted December 29, 2018 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-to-a-maven-project Link to comment Share on other sites More sharing options...
hozawa Posted December 30, 2018 Share Posted December 30, 2018 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. Link to comment Share on other sites More sharing options...
Wiewioor222 Posted December 31, 2018 Author Share Posted December 31, 2018 I'm using the Liquibase framework and it validating my schema in a package. I solved my problem by moving files to other resources. :) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now