Hi Matt,
I reverted and it seemed to get pass the problem.
Thanks.
Vincent

On Fri, May 23, 2008 at 11:51 AM, Matt Raible <[EMAIL PROTECTED]>
wrote:

> The only step I can think of is to revert the version of AMP to 2.0.1.
>
> Matt
>
> On Fri, May 23, 2008 at 8:17 AM, Vincent Ramdhanie <[EMAIL PROTECTED]>
> wrote:
> > Thanks Matt,
> > Yes I am connected to the Internet and no I am not behind a firewall.
> After
> > reading the issue APF-1045 that you pointed out though I tried removing
> the
> > class mapping entry from hibernate.cfg.xml then running appfuse:gen
> again.
> > Originally I had made the entry manually. But still the same result.
> >
> > What steps could I take now to work around this?
> >
> > Thanks
> > Vincent
> >
> > On Fri, May 23, 2008 at 9:35 AM, Matt Raible <[EMAIL PROTECTED]>
> wrote:
> >>
> >> Are you connected to the internet when you run this? Are you behind a
> >> firewall?
> >>
> >> This seems to be caused by the following enhancement:
> >>
> >> http://issues.appfuse.org/browse/APF-1045
> >>
> >> Matt
> >>
> >> On Fri, May 23, 2008 at 5:52 AM, Vincent Ramdhanie <
> [EMAIL PROTECTED]>
> >> wrote:
> >> > 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
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >
> >
> >
> > --
> > Vincent Ramdhanie
> > Vinette Technologies
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Vincent Ramdhanie
Vinette Technologies

Reply via email to