Advertisement
arimathi14

hibernate3-maven-error

Feb 20th, 2012
678
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.70 KB | None | 0 0
  1. [ERROR] Failed to execute goal org.codehaus.mojo:hibernate3-maven-plugin:3.0:hbm2
  2. ddl (create sql schema) on project framework: There was an error creating the Ant
  3. Run task. NullPointerException -> [Help 1]
  4. org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal or
  5. g.codehaus.mojo:hibernate3-maven-plugin:3.0:hbm2ddl (create sql schema) on projec
  6. t framework: There was an error creating the AntRun task.
  7. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.
  8. java:217)
  9. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.
  10. java:153)
  11. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.
  12. java:145)
  13. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProjec
  14. t(LifecycleModuleBuilder.java:84)
  15. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProjec
  16. t(LifecycleModuleBuilder.java:59)
  17. at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBui
  18. ld(LifecycleStarter.java:183)
  19. at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycle
  20. Starter.java:161)
  21. at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
  22. at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
  23. at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
  24. at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
  25. at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
  26. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  27. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
  28. ava:39)
  29. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
  30. orImpl.java:25)
  31. at java.lang.reflect.Method.invoke(Method.java:597)
  32. at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launc
  33. her.java:290)
  34. at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java
  35. :230)
  36. at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Lau
  37. ncher.java:409)
  38. at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:3
  39. 52)
  40. Caused by: org.apache.maven.plugin.MojoExecutionException: There was an error cre
  41. ating the AntRun task.
  42. at org.codehaus.mojo.hibernate3.AbstractHibernateMojo.execute(AbstractHib
  43. ernateMojo.java:84)
  44. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultB
  45. uildPluginManager.java:101)
  46. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.
  47. java:209)
  48. ... 19 more
  49. Caused by: java.lang.NullPointerException
  50. at org.codehaus.plexus.configuration.DefaultPlexusConfiguration.add(Defau
  51. ltPlexusConfiguration.java:170)
  52. at org.codehaus.plexus.configuration.DefaultPlexusConfiguration.addChild(
  53. DefaultPlexusConfiguration.java:146)
  54. at org.codehaus.mojo.hibernate3.util.PlexusConfigurationUtils.setHibernat
  55. eConfiguration(PlexusConfigurationUtils.java:289)
  56. at org.codehaus.mojo.hibernate3.util.PlexusConfigurationUtils.parseHibern
  57. ateTool(PlexusConfigurationUtils.java:67)
  58. at org.codehaus.mojo.hibernate3.AbstractHibernateToolMojo.getConfiguratio
  59. n(AbstractHibernateToolMojo.java:60)
  60. at org.codehaus.mojo.hibernate3.AbstractHibernateMojo.execute(AbstractHib
  61. ernateMojo.java:76)
  62. ... 21 more
  63. [ERROR]
  64. [ERROR]
  65. [ERROR] For more information about the errors and possible solutions, please read
  66. the following articles:
  67. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionEx
  68. ception
  69. [ERROR]
  70. [ERROR] After correcting the problems, you can resume the build with the command
  71. [ERROR] mvn <goals> -rf :framework
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement