On Fri, Feb 12, 2010 at 1:53 PM, Jongmin Yoon <[email protected]> wrote:
> Yes, I did. > > total 3.. > > 1. JAVA_HOME/jre/lib/ext > ^^^^^^^^^^^^^^^^ This is the problem. The dev_appserver does not allow you to use arbitrary libraries that live in your own personal JDK's extension folder. (For example, we don't copy that folder up when you deploy your application). If you delete the jar file from lib/ext and leave it in WEB-INF/lib, the problem should go away. > 2. Include /war/WEB-INF/lib > 3. 2 -> 'Add to Build Path' > > Not only 'twitter4j'! > > logback-classic-0.9.6.jar > logback-core-0.9.6.jar > jdom.jar > junit.jar > rome-0.9.jar > slf4j-api-1.5.0.jar > twitter4j-core-2.1.1-SNAPSHOT-javadoc.jar > twitter4j-core-2.1.1-SNAPSHOT-sources.jar > twitter4j-core-2.1.1-SNAPSHOT.jar <- this is 'twitter4j' > > I just hoped....T_T > > > On Feb 13, 3:43 am, Toby Reyelts <[email protected]> wrote: > > Where is your twitter4j jar file located? For example, do you have a copy > of > > it in your JDK's extension folder (e.g. jre/lib/ext)? > > > > On Fri, Feb 12, 2010 at 1:05 PM, Jongmin Yoon <[email protected]> wrote: > > > Yeah. Of course. > > > > > Thank you to your reply. > > > > > ------------------------------------------ > > > > > HTTP ERROR: 500 > > > > > twitter4j.TwitterFactory is a restricted class. Please see the Google > > > App Engine developer's guide for more details. > > > > > RequestURI=/test > > > Caused by: > > > > > java.lang.NoClassDefFoundError: twitter4j.TwitterFactory 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: > > > 51) > > > at twilist.UpdateTwit.getOAuthData(UpdateTwit.java:60) > > > at twilist.UpdateTwit.doGet(UpdateTwit.java:19) > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:693) > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > > > at > > > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: > > > 487) > > > at org.mortbay.jetty.servlet.ServletHandler > > > $CachedChain.doFilter(ServletHandler.java:1093) > > > at > > > > > > com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java: > > > 51) > > > at org.mortbay.jetty.servlet.ServletHandler > > > $CachedChain.doFilter(ServletHandler.java:1084) > > > at > > > > > > com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java: > > > 43) > > > at org.mortbay.jetty.servlet.ServletHandler > > > $CachedChain.doFilter(ServletHandler.java:1084) > > > at > > > > > > com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java: > > > 121) > > > at org.mortbay.jetty.servlet.ServletHandler > > > $CachedChain.doFilter(ServletHandler.java:1084) > > > at > > > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: > > > 360) > > > at > > > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: > > > 216) > > > at > > > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: > > > 181) > > > at > > > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: > > > 712) > > > at > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: > > > 405) > > > at > > > > > > com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java: > > > 70) > > > at > > > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: > > > 139) > > > at com.google.appengine.tools.development.JettyContainerService > > > $ApiProxyHandler.handle(JettyContainerService.java:352) > > > at > > > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: > > > 139) > > > at org.mortbay.jetty.Server.handle(Server.java:313) > > > at > > > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: > > > 506) > > > at org.mortbay.jetty.HttpConnection > > > $RequestHandler.headerComplete(HttpConnection.java:830) > > > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) > > > at > org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) > > > at > org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) > > > at > > > > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: > > > 396) > > > at org.mortbay.thread.BoundedThreadPool > > > $PoolThread.run(BoundedThreadPool.java:442) > > > > > On Feb 13, 1:59 am, Don Schwarz <[email protected]> wrote: > > > > Can you provide the full error you're getting? Ideally with a stack > > > trace? > > > > > > On Fri, Feb 12, 2010 at 9:13 AM, Jongmin Yoon <[email protected]> > wrote: > > > > > > 'com.google.appengine.tools.development.agent.runtime.Runtime.reject' > > > > > > > It is occur error when include any class. > > > > > > > After upload to 'appspot.com', the error does not occur. > > > > > > > But error occurred on my computer. > > > > > > > Same java source. > > > > > > > I've tried to include jar library on my project. (many many many > > > > > times) > > > > > > > But error occurred. > > > > > > > Somebody help me. > > > > > > > I can't sleep, untill solve this problem. > > > > > > > - My enviorment - > > > > > > > 1. Eclipse (GANIMEDE) > > > > > 2. Google Plugin for Eclipse 3.5 (1.2.0.v200912062003) > > > > > 3. Google App Engine Java SDK 1.3.1 (1.3.1.v201002101412) > > > > > 4. Google Web Toolkit SDK 2.0.1 (2.0.1.v201002021445) > > > > > > > -- > > > > > You received this message because you are subscribed to the Google > > > Groups > > > > > "Google App Engine for Java" group. > > > > > To post to this group, send email to > > > > > [email protected]. > > > > > To unsubscribe from this group, send email to > > > > > [email protected]<google-appengine-java%[email protected]> > <google-appengine-java%[email protected]<google-appengine-java%[email protected]> > > > > > <google-appengine-java%[email protected]<google-appengine-java%[email protected]> > <google-appengine-java%[email protected]<google-appengine-java%[email protected]> > > > > > > > > > . > > > > > For more options, visit this group at > > > > >http://groups.google.com/group/google-appengine-java?hl=en. > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Google App Engine for Java" group. > > > To post to this group, send email to > > > [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<google-appengine-java%[email protected]> > <google-appengine-java%[email protected]<google-appengine-java%[email protected]> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-appengine-java?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
