-
Notifications
You must be signed in to change notification settings - Fork 15
Exception then trying to run wadl2java on Fedora #52
Comments
Reported by walec51 |
walec51 said:
Please correct the bundle in the next release |
@pavelbucek said: fixed in the trunk. |
jkidd said: C:\Users\jkv\Desktop\wadl-dist-1.1.4-SNAPSHOT-bin\wadl-dist-1.1.4-SNAPSHOT\bin>w |
@pavelbucek said: |
jkidd said: C:\Users\jkv\Desktop\wadl-dist-1.1.4-SNAPSHOT-bin\wadl-dist-1.1.4-SNAPSHOT\bin>wadl2java.bat -o here -p com -a http://funk314i:8081/fapi/security-1.0.0/application.wadl |
@pavelbucek said: |
File: xsd0.xsd |
jkidd said: |
File: application.wadl |
@pavelbucek said:
I think this might be related to windows/wadl2java.bat.. |
jkidd said: |
ashleyross said:
I believe it should contain:
Note the addition of jersey-client-1.13.jar, without which I receive:
|
This issue was imported from java.net JIRA WADL-52 |
Tried to run the Yahoo example:
./wadl2java -o tst -s jaxrs20 -p test.yahoo YahooSearch.wadl
And got the exception:
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:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
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
Affected Versions
[1.1.3]
The text was updated successfully, but these errors were encountered: