Skip to content

Instantly share code, notes, and snippets.

@hardyoyo
Created July 23, 2013 22:27
Show Gist options
  • Save hardyoyo/6066721 to your computer and use it in GitHub Desktop.
Save hardyoyo/6066721 to your computer and use it in GitHub Desktop.
At tdonohue's suggestion, I tried replacing the class name at https://github.com/DSpace/DSpace/blob/master/dspace-lni/dspace-lni-client/pom.xml#L42 with the proper class name: "org.dspace.app.dav.LNISoapServlet".... should read "org.dspace.app.dav.client.LNISoapServlet". However, the same error as before is still reported. (see https://gist.gith…
[INFO] ------------------------------------------------------------------------
[INFO] Building DSpace LNI :: CLI Client Application 3.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ dspace-lni-client ---
[INFO] Deleting /var2/devspace/pottingerhj/dspace3_release/dspace-lni/dspace-lni-client/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ dspace-lni-client ---
[INFO]
[INFO] --- maven-antrun-plugin:1.3:run (default) @ dspace-lni-client ---
[INFO] Executing tasks
[axis-java2wsdl] Java2WSDL org.dspace.app.dav.client.LNISoapServlet
[axis-java2wsdl] java.lang.ClassNotFoundException: org.dspace.app.dav.client.LNISoapServlet
[axis-java2wsdl] at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
[axis-java2wsdl] at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
[axis-java2wsdl] at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
[axis-java2wsdl] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
[axis-java2wsdl] at org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLoader.java:1425)
[axis-java2wsdl] at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1101)
[axis-java2wsdl] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
[axis-java2wsdl] at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187)
[axis-java2wsdl] at java.security.AccessController.doPrivileged(Native Method)
[axis-java2wsdl] at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
[axis-java2wsdl] at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
[axis-java2wsdl] at org.apache.axis.wsdl.fromJava.Emitter.setCls(Emitter.java:2079)
[axis-java2wsdl] at org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask.execute(Java2WsdlAntTask.java:188)
[axis-java2wsdl] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[axis-java2wsdl] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[axis-java2wsdl] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[axis-java2wsdl] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[axis-java2wsdl] at java.lang.reflect.Method.invoke(Method.java:597)
[axis-java2wsdl] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[axis-java2wsdl] at org.apache.tools.ant.Task.perform(Task.java:348)
[axis-java2wsdl] at org.apache.tools.ant.Target.execute(Target.java:357)
[axis-java2wsdl] at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:118)
[axis-java2wsdl] at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:98)
[axis-java2wsdl] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
[axis-java2wsdl] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
[axis-java2wsdl] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
[axis-java2wsdl] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
[axis-java2wsdl] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
[axis-java2wsdl] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
[axis-java2wsdl] at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
[axis-java2wsdl] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
[axis-java2wsdl] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
[axis-java2wsdl] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
[axis-java2wsdl] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
[axis-java2wsdl] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
[axis-java2wsdl] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
[axis-java2wsdl] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[axis-java2wsdl] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[axis-java2wsdl] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[axis-java2wsdl] at java.lang.reflect.Method.invoke(Method.java:597)
[axis-java2wsdl] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
[axis-java2wsdl] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
[axis-java2wsdl] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
[axis-java2wsdl] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] DSpace Parent Project ............................. SUCCESS [16.225s]
[INFO] DSpace Services Framework :: API and Implementation SUCCESS [22.174s]
[INFO] DSpace Kernel :: API and Implementation ........... SUCCESS [27.861s]
[INFO] DSpace Addon Modules .............................. SUCCESS [0.194s]
[INFO] DSpace Kernel :: Additions and Local Customizations SUCCESS [4.029s]
[INFO] DSpace XML-UI (Manakin) ........................... SUCCESS [28.947s]
[INFO] DSpace XML-UI (Manakin) :: Local Customizations ... SUCCESS [11.991s]
[INFO] DSpace LNI ........................................ SUCCESS [13.643s]
[INFO] DSpace LNI :: Local Customizations ................ SUCCESS [7.844s]
[INFO] DSpace JSP-UI ..................................... SUCCESS [19.385s]
[INFO] DSpace JSP-UI :: Local Customizations ............. SUCCESS [9.160s]
[INFO] DSpace SWORD ...................................... SUCCESS [17.615s]
[INFO] DSpace SWORD :: Local Customizations .............. SUCCESS [7.731s]
[INFO] DSpace SWORD v2 ................................... SUCCESS [13.299s]
[INFO] DSpace SWORD v2 :: Local Customizations ........... SUCCESS [8.173s]
[INFO] DSpace OAI 2.0 .................................... SUCCESS [12.641s]
[INFO] DSpace OAI 2.0 :: Local Customizations ............ SUCCESS [10.261s]
[INFO] DSpace Assembly and Configuration ................. SUCCESS [34.266s]
[INFO] DSpace LNI :: CLI Client Application .............. FAILURE [0.983s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:27.374s
[INFO] Finished at: Tue Jul 23 17:20:19 CDT 2013
[INFO] Final Memory: 102M/484M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run (default) on project dspace-lni-client: An Ant BuildException has occured: Error while running org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask: org.dspace.app.dav.client.LNISoapServlet -> [Help 1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment