I'm not sure about mailing list for gwtp. 

All is looking fine except this error occurs in Super Dev Mode, not regular 
running mode. 

On Wednesday, July 19, 2017 at 9:02:40 AM UTC-5, Michael Joyner wrote:
>
> Hrmmm does gwtp have a separate support mailing list? It really is a 
> server side issue, we don't use GWTP here at this time.
>
> On 07/19/2017 09:52 AM, Renat Kabirov wrote:
>
> My guess that code server somehow using servlet-api of 2.3, because after 
> compiling we have in target code libs servlet-api 2.3 which is not used by 
> any kind of dependency. Servlet-api 2.3 starts downloading before output of 
> checkstyle plugin. I tried to remove this plugin, but nothing changes.  
>
> About gwt-rpc, yes we are using couple dependencies from there: 
>
> <dependency>
>     <groupId>com.gwtplatform</groupId>
>     <artifactId>gwtp-dispatch-rpc-client</artifactId>
>     <version>${gwtp.version}</version>
>     <scope>provided</scope>
>
> </dependency>
> <dependency>
>     <groupId>com.gwtplatform</groupId>
>     <artifactId>gwtp-dispatch-rpc-server-guice</artifactId>
>     <version>${gwtp.version}</version>
> </dependency>
>
> <dependency>
>     <groupId>com.gwtplatform</groupId>
>     <artifactId>gwtp-dispatch-rpc-shared</artifactId>
>     <version>${gwtp.version}</version>
>     <scope>compile</scope>
>
> </dependency> 
>
> where gwtp.version is 1.6, so they are latest. 
>
>
>
> On Wed, Jul 19, 2017 at 8:37 AM, Michael Joyner <[email protected] 
> <javascript:>> wrote:
>
>> At this point I'm at a bit of a loss I'm afraid. The issue is really 
>> happening as a servlet error based on what I'm seeing and not really as a 
>> GWT client front end issue. Are you using GWT-RPC? If yes, is the gwt rpc 
>> jar in the final war? Are any other required jars making it into your war 
>> (such as the rs-api jar)?
>>
>> On 07/18/2017 04:46 PM, Renat Kabirov wrote:
>>
>> Yes, we do, we have javax.ws.rs:javax.ws.rs-api 2.0.1 in our dependencies.
>>
>> On Tuesday, July 18, 2017 at 3:03:13 PM UTC-5, Michael Joyner wrote: 
>>>
>>> I just noticed one of our projects has as dependencies:
>>>
>>>     providedCompile 'javax.servlet:javax.servlet-api:3.0.1'
>>>     compile 'javax.ws.rs:javax.ws.rs-api:2.0.1'
>>>
>>> Do you have the second one?
>>>
>>> On 07/18/2017 01:36 PM, Michael Joyner wrote:
>>>
>>>
>>> We use Gradle here and not Maven, so I'm stuck at this point. I do know 
>>> that when we previously tried 3.1.0 we had all sorts of issues with the 
>>> Tomcat version we were using at the time. You might need to include an 
>>> additional dependency for use by your servlet container. Jetty?
>>>
>>> On 07/18/2017 11:33 AM, Renat Kabirov wrote:
>>>
>>> Hi Michael Joyner,  
>>>
>>> Just changed version to 3.0.1 - I see error during building: 
>>>    Module setup completed in 32400 ms
>>> java.lang.NoClassDefFoundError: javax/servlet/http/HttpSessionIdListener
>>> at 
>>> org.eclipse.jetty.server.session.SessionHandler.<clinit>(SessionHandler.java:54)
>>> at 
>>> org.eclipse.jetty.servlet.ServletContextHandler.newSessionHandler(ServletContextHandler.java:241)
>>> at 
>>> org.eclipse.jetty.servlet.ServletContextHandler.getSessionHandler(ServletContextHandler.java:334)
>>> at 
>>> org.eclipse.jetty.servlet.ServletContextHandler.relinkHandlers(ServletContextHandler.java:180)
>>> at 
>>> org.eclipse.jetty.servlet.ServletContextHandler.<init>(ServletContextHandler.java:157)
>>> at 
>>> org.eclipse.jetty.servlet.ServletContextHandler.<init>(ServletContextHandler.java:117)
>>> at 
>>> org.eclipse.jetty.servlet.ServletContextHandler.<init>(ServletContextHandler.java:105)
>>> at com.google.gwt.dev.codeserver.WebServer.start(WebServer.java:129)
>>> at com.google.gwt.dev.codeserver.CodeServer.start(CodeServer.java:162)
>>> at com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:104)
>>> at com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:55)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at 
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>> at 
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:498)
>>> at 
>>> com.google.gwt.dev.shell.SuperDevListener.runCodeServer(SuperDevListener.java:112)
>>> at 
>>> com.google.gwt.dev.shell.SuperDevListener.start(SuperDevListener.java:91)
>>> at com.google.gwt.dev.DevMode.ensureCodeServerListener(DevMode.java:666)
>>> at com.google.gwt.dev.DevModeBase.doStartup(DevModeBase.java:810)
>>> at com.google.gwt.dev.DevMode.doStartup(DevMode.java:551)
>>> at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:913)
>>> at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:706)
>>> at com.google.gwt.dev.DevMode.main(DevMode.java:432)
>>> Caused by: java.lang.ClassNotFoundException: 
>>> javax.servlet.http.HttpSessionIdListener
>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>>> ... 23 more
>>> Disconnected from the target VM, address: '127.0.0.1:57494', transport: 
>>> 'socket'
>>>
>>> On Mon, Jul 17, 2017 at 3:51 PM, Michael Joyner <[email protected]> 
>>> wrote:
>>>
>>>> try putting servlet to 3.0.1 and not 3.1.0 and see if that helps.
>>>>
>>>> On 07/17/2017 03:13 PM, Renat Kabirov wrote:
>>>>
>>>> I have a problem upgrading to GWT 2.8.1 from 2.7.0.  
>>>>
>>>> Changed version of gwt in pom. Checked dependencies, updated them. 
>>>> Changed servlet-api version to 3.1.0. 
>>>>
>>>> When I try to run application code server has an error: 
>>>> HTTP ERROR: 500 
>>>>
>>>> Problem accessing /. Reason:
>>>>
>>>>     java.lang.NoSuchMethodError: 
>>>> javax.servlet.http.HttpServletResponse.getHeader(Ljava/lang/String;)Ljava/lang/String;
>>>>
>>>> ------------------------------
>>>> *Powered by Jetty://*
>>>>
>>>> From what I got, I understand that Code server trying to use wrong 
>>>> version of servlet-api. I see in my classpath servlet-api version 2.3, but 
>>>> I removed all other servlet-api versions in every dependency has it. 
>>>>
>>>> I would glad to look in your recommendations. 
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "GWT Users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> To post to this group, send email to [email protected].
>>>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>>
>>>>
>>>
>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "GWT Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to