I'm trying to run appfuse:gen command for a newly added class getting the
following error.
Any help would be appreciated!
Thanks
==================
D:\projects\afuse\myproject>mvn appfuse:gen
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'appfuse'.
[INFO]
------------------------------------------------------------------------
[INFO] Building AppFuse Struts 2 Application
[INFO] task-segment: [appfuse:gen]
[INFO]
------------------------------------------------------------------------
[INFO] Preparing appfuse:gen
[INFO] [warpath:add-classes {execution: default}]
[INFO] [aspectj:compile {execution: default}]
[INFO] [native2ascii:native2ascii {execution: native2ascii-utf8}]
[INFO] [native2ascii:native2ascii {execution: native2ascii-8859_1}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is invalid.
It will be ignored for artifact resolution. Reason: Parse error reading POM.
Reason: TEXT must be immediately followed by EN
D_TAG and not START_TAG (position: START_TAG seen
...<licenses>\n\t\t\t<license>... @12:13) for project org.hibernate:jtidy
at d:\repo\org\hibernate\jtidy\r8-20060801\jtidy-r8-20060801.pom
[INFO] [appfuse:gen]
What is the name of your pojo (i.e. Person)?: Client
log4j:WARN Continuable parsing error 57 and column 64
log4j:WARN Attribute value "com.opensymphony.xwork2.util.OgnlValueStack" of
type ID must be unique within the document.
[INFO] Configuration XML file loaded:
file:/D:/projects/afuse/myproject/src/main/resources/hibernate.cfg.xml
[INFO] Configuration XML file loaded:
file:/D:/projects/afuse/myproject/src/main/resources/hibernate.cfg.xml
[INFO] src/main/resources/database.properties not found within the project.
Trying absolute path.
[INFO] No hibernate properties file loaded.
[info] [AppFuse] Installing generated files (pattern: **/*.java)...
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] D:\projects\afuse\myproject\target\appfuse\generated-sources not
found.
[INFO]
------------------------------------------------------------------------
[INFO] Trace
D:\projects\afuse\myproject\target\appfuse\generated-sources not found.
at
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:422)
at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:453)
at
org.appfuse.tool.ArtifactInstaller.copyGeneratedObjects(ArtifactInstaller.java:116)
at
org.appfuse.tool.ArtifactInstaller.execute(ArtifactInstaller.java:44)
at
org.appfuse.mojo.exporter.AppFuseGeneratorMojo.doExecute(AppFuseGeneratorMojo.java:270)
at
org.appfuse.mojo.HibernateExporterMojo.execute(HibernateExporterMojo.java:138)
at
org.appfuse.mojo.exporter.AppFuseGeneratorMojo.execute(AppFuseGeneratorMojo.java:210)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.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(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 12 seconds
[INFO] Finished at: Sun Dec 14 17:12:12 EST 2008
[INFO] Final Memory: 19M/36M
[INFO]
------------------------------------------------------------------------
--
View this message in context:
http://www.nabble.com/appfuse%3Agen-error.-tp21005287s2369p21005287.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]