Wednesday, July 7, 2010

Ways To Hide Bulimia At School

-1.7.0.jar: Property 'http://apache.org/xml/features/nonvalidating/load-external-dtd' is not Recognized

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
  1. installed Java version 5,
  2. changed the value of JAVA_HOME environment variable to the location jdk5 instead of 6,
  3. opened a new command window,
  4. execute the instruction again mvn appfuse: gen-dentity = NombrePojo and
  5. vuala BUILD SUCCESSFUL .
I hope you learn if you are using AppFuse

0 comments:

Post a Comment