Google AppEngine java.net.Socket is restricted error

Posted by ofko on Stack Overflow See other posts from Stack Overflow or by ofko
Published on 2011-12-17T13:54:49Z Indexed on 2012/10/04 3:37 UTC
Read the original article Hit count: 98

Filed under:
|
|
|

I'm using Quercus/PHP on AppEngine. When I run a simple script with file_get_contents($url); I get an error:

java.lang.NoClassDefFoundError: java.net.Socket is a restricted class. Please see the Google App Engine developer's guide for more details.

I've googled and although I find that other's have run into the same error, but the cause seems the vary. What do you think is cousing this error for me?

I'm using the latest AppEngine Java SDK, and the latest Quercus.

© Stack Overflow or respective owner

Related posts about java

Related posts about php