Hello, I am trying to use appfuse:gen on a struts modular project. I am using appfuse 2.0.2. I start in the core module with the command:
mvn appfuse:gen -Dentity=Article The following error shows up: Property 'http://apache.org/xml/features/nonvalidating/load-external-dtd' is not recognized. org.xml.sax.SAXNotRecognizedException: Property ' http://apache.org/xml/features/ nonvalidating/load-external-dtd' is not recognized. at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.getPrope rty(AbstractSAXParser.java:2060) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.s etProperty(SAXParserImpl.java:467) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAX ParserImpl.java:263) at org.appfuse.mojo.exporter.AppFuseGeneratorMojo$POJOSearcher.searchFor Pojo(AppFuseGeneratorMojo.java:384) at org.appfuse.mojo.exporter.AppFuseGeneratorMojo.addEntityToHibernateCf gXml(AppFuseGeneratorMojo.java:298) at org.appfuse.mojo.exporter.AppFuseGeneratorMojo.execute(AppFuseGenerat orMojo.java:165) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:558) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone Goal(DefaultLifecycleExecutor.java:512) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:482) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Despite this, the result is Build Successful. I notice that no code was generated but the sample-data.xml file has been modified to include data for the table. When I run appfuse:gen in the web module I am getting a different error but I suspect it might be related to this one. Does anyone have any ideas as to what could be happening here or where I am going wrong? Thanks Vincent
