I am currently developing a small application using AppFuse 2.0.2. Appfuse has a code generation tool that uses powerful Maven.
mvn appfuse: gen-dentity = NombrePojo
Well, when you try to build my CRUD (Create, Retrieve, Update and Delete), I checked the error:
org.xml.sax . SAXNotRecognizedException: Property 'http://apache.org/xml/features/nonvalidating/load-external-dtd'
After searching a while on the AppFuse mailing list I found that is untested functionality with Java 6 and recommend solutions point to another URL, but had to make some drastic changes, but only wanted to fix that mistake and had no problems in changing Java version, so
- installed Java version 5,
- changed the value of JAVA_HOME environment variable to the location jdk5 instead of 6,
- opened a new command window,
- execute the instruction again mvn appfuse: gen-dentity = NombrePojo and
- vuala BUILD SUCCESSFUL .
0 comments:
Post a Comment