Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ERROR] Failed to execute goal org.codehaus.mojo:hibernate3-maven-plugin:3.0:hbm2
- ddl (create sql schema) on project framework: There was an error creating the Ant
- Run task. NullPointerException -> [Help 1]
- org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal or
- g.codehaus.mojo:hibernate3-maven-plugin:3.0:hbm2ddl (create sql schema) on projec
- t framework: There was an error creating the AntRun task.
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.
- java:217)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.
- java:153)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.
- java:145)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProjec
- t(LifecycleModuleBuilder.java:84)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProjec
- t(LifecycleModuleBuilder.java:59)
- at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBui
- ld(LifecycleStarter.java:183)
- at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycle
- Starter.java:161)
- at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
- at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
- at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
- at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
- at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
- ava:39)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
- orImpl.java:25)
- at java.lang.reflect.Method.invoke(Method.java:597)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launc
- her.java:290)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java
- :230)
- at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Lau
- ncher.java:409)
- at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:3
- 52)
- Caused by: org.apache.maven.plugin.MojoExecutionException: There was an error cre
- ating the AntRun task.
- at org.codehaus.mojo.hibernate3.AbstractHibernateMojo.execute(AbstractHib
- ernateMojo.java:84)
- at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultB
- uildPluginManager.java:101)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.
- java:209)
- ... 19 more
- Caused by: java.lang.NullPointerException
- at org.codehaus.plexus.configuration.DefaultPlexusConfiguration.add(Defau
- ltPlexusConfiguration.java:170)
- at org.codehaus.plexus.configuration.DefaultPlexusConfiguration.addChild(
- DefaultPlexusConfiguration.java:146)
- at org.codehaus.mojo.hibernate3.util.PlexusConfigurationUtils.setHibernat
- eConfiguration(PlexusConfigurationUtils.java:289)
- at org.codehaus.mojo.hibernate3.util.PlexusConfigurationUtils.parseHibern
- ateTool(PlexusConfigurationUtils.java:67)
- at org.codehaus.mojo.hibernate3.AbstractHibernateToolMojo.getConfiguratio
- n(AbstractHibernateToolMojo.java:60)
- at org.codehaus.mojo.hibernate3.AbstractHibernateMojo.execute(AbstractHib
- ernateMojo.java:76)
- ... 21 more
- [ERROR]
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read
- the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionEx
- ception
- [ERROR]
- [ERROR] After correcting the problems, you can resume the build with the command
- [ERROR] mvn <goals> -rf :framework
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement