You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having some troubles with running a app that I am using the Java server side code for. The code in the sample seems to be using Version 1.* (I am using sun.jersey 1.19 and maven)
I get the NoSuchMethodError when the server is starting up.
I am having some troubles with running a app that I am using the Java server side code for. The code in the sample seems to be using Version 1.* (I am using sun.jersey 1.19 and maven)
I get the NoSuchMethodError when the server is starting up.
My POM.xml :
My web.xml :
Not sure what I am doing wrong, but when I checked the API docs, it seems I have the right version in the mvn dependancies.
Here is the stacktrace during run time.
[INFO] INFO: Scanning for root resource and provider classes in the packages: [INFO] com.example.serversideauthservice.resources.AuthResource [INFO] Feb 21, 2015 2:35:26 PM com.google.apphosting.utils.jetty.JettyLogger warn [INFO] WARNING: failed Rest: java.lang.NoSuchMethodError: com.sun.jersey.core.reflection.ReflectionHelper.getContextClassLoaderPA()Ljava/security/PrivilegedAction; [INFO] Feb 21, 2015 2:35:26 PM com.google.apphosting.utils.jetty.JettyLogger warn [INFO] WARNING: failed com.google.appengine.tools.development.DevAppEngineWebAppContext@7f74a932{/,D:\taxmarkets_main\taxmarket\target\taxmarket-1.0-SNAPSHOT}: java.lang.NoSuchMethodError: com.sun.jersey.core.reflection.ReflectionHelper.getContextClassLoaderPA()Ljava/security/PrivilegedAction; [INFO] Feb 21, 2015 2:35:26 PM com.google.apphosting.utils.jetty.JettyLogger warn [INFO] WARNING: failed JettyContainerService$ApiProxyHandler@660382ce: java.lang.NoSuchMethodError: com.sun.jersey.core.reflection.ReflectionHelper.getContextClassLoaderPA()Ljava/security/PrivilegedAction; [INFO] Feb 21, 2015 2:35:26 PM com.google.apphosting.utils.jetty.JettyLogger warn [INFO] WARNING: Error starting handlers [INFO] java.lang.NoSuchMethodError: com.sun.jersey.core.reflection.ReflectionHelper.getContextClassLoaderPA()Ljava/security/PrivilegedAction; [INFO] at com.sun.jersey.spi.scanning.AnnotationScannerListener.(AnnotationScannerListener.java:94) [INFO] at com.sun.jersey.spi.scanning.PathProviderScannerListener.(PathProviderScannerListener.java:59) [INFO] at com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:79) [INFO] at com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104) [INFO] at com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78) [INFO] at com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:89) [INFO] at com.sun.jersey.spi.container.servlet.WebComponent.createResourceConfig(WebComponent.java:696) [INFO] at com.sun.jersey.spi.container.servlet.WebComponent.createResourceConfig(WebComponent.java:674) [INFO] at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:205)
Any ideas on what I am doing wrong?
The text was updated successfully, but these errors were encountered: