java.lang.NoClassDefFoundError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GAE and Spring Social
    via by Vito via StackOverflow,
  • Association references unmapped class
    via by Unknown author,
  • JDBC begin failed
    via by cris,
    • java.lang.NoClassDefFoundError: java.net.ProxySelector is a restricted class. Please see the Google App Engine developer's guide for more details. at com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:52) at org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder.java:1093) at org.apache.http.impl.client.HttpClients.createSystem(HttpClients.java:66) at org.springframework.http.client.HttpComponentsClientHttpRequestFactory.<init>(HttpComponentsClientHttpRequestFactory.java:72) at org.springframework.social.support.ClientHttpRequestFactorySelector$HttpComponentsClientRequestFactoryCreator$1.<init>(ClientHttpRequestFactorySelector.java:91) at org.springframework.social.support.ClientHttpRequestFactorySelector$HttpComponentsClientRequestFactoryCreator.createRequestFactory(ClientHttpRequestFactorySelector.java:91) at org.springframework.social.support.ClientHttpRequestFactorySelector.getRequestFactory(ClientHttpRequestFactorySelector.java:64) at org.springframework.social.oauth2.OAuth2Template.createRestTemplate(OAuth2Template.java:210) at org.springframework.social.oauth2.OAuth2Template.getRestTemplate(OAuth2Template.java:265) at org.springframework.social.google.connect.GoogleOAuth2Template.postForAccessGrant(GoogleOAuth2Template.java:48) at org.springframework.social.oauth2.OAuth2Template.exchangeForAccess(OAuth2Template.java:144) at org.springframework.social.connect.web.ConnectSupport.completeConnection(ConnectSupport.java:160) at org.springframework.social.connect.web.ConnectController.oauth2Callback(ConnectController.java:279) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source)

    Users with the same issue

    Unknown visitor1 times, last one,
    tfr
    1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    1 more bugmates