Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

wadl2java #53

Closed
glassfishrobot opened this issue Nov 1, 2012 · 5 comments
Closed

wadl2java #53

glassfishrobot opened this issue Nov 1, 2012 · 5 comments

Comments

@glassfishrobot
Copy link
Contributor

It seems like the dist from the tag 1.1.3 is not entirely correctly build. Apparently there is some class path issues. Could these perhaps be resolved by editing the wadl2java.bat file?

C:\Something\Yadee\wadl-dist-1.1.3-bin\wadl-dist-1.1.3\bin>wadl2java.bat -o here -p com http://funk314i:8081/fapi/security-1.0.0/application.wadl
Info: Processing: http://funk314i:8081/fapi/security-1.0.0/application.wadl
Info: Processing: http://funk314i:8081/fapi/security-1.0.0/application.wadl/xsd0.xsd
Exception in thread "main" java.lang.RuntimeException: java.lang.ClassNotFoundException: com.sun.ws.rs.ext.RuntimeDelegateImpl
at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:122)
at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:91)
at javax.ws.rs.core.UriBuilder.newInstance(UriBuilder.java:69)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:80)
at org.jvnet.ws.wadl2java.Wadl2Java.generateEndpointClass(Wadl2Java.java:618)
at org.jvnet.ws.wadl2java.Wadl2Java.process(Wadl2Java.java:472)
at org.jvnet.ws.wadl2java.Main.main(Main.java:143)
Caused by: java.lang.ClassNotFoundException: com.sun.ws.rs.ext.RuntimeDelegateImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:62)
at javax.ws.rs.ext.FactoryFinder.find(FactoryFinder.java:155)
at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:105)
... 6 more

Environment

Windows 7 x64 Enterprise

Affected Versions

[1.1.3]

@glassfishrobot
Copy link
Contributor Author

Reported by jkidd

@glassfishrobot
Copy link
Contributor Author

Issue-Links:
duplicates
WADL-52

@glassfishrobot
Copy link
Contributor Author

Marked as duplicate on Thursday, November 1st 2012, 7:32:10 am

@glassfishrobot
Copy link
Contributor Author

@glassfishrobot
Copy link
Contributor Author

This issue was imported from java.net JIRA WADL-53

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants