Re: NoClassDefFoundError on a particular class while running gwt:codeserver

2024-04-15 Thread Mukeya Kassindye
Hi everyone,

@Tbroyer : I ended up change the scope of my hibernate dependencies to 
runtime and now it is working fine.
@Jens, just by changing the scope to runtime, with the version I specified. 
it is working.

thanks all for the tips.


Mnamo Ijumaa, 5 Aprili 2024 saa 10:06:46 UTC-3 Thomas Broyer aliandika:

> On Thursday, April 4, 2024 at 9:29:21 PM UTC+2 dja...@gmail.com wrote:
>
> Hi,
>
> I can't seem to be able to point out what dependency I am missing while 
> trying to run my gwt application in Devmode with gwt:codeserver.
> I can  build the program, compile it and deploy it without a problem. 
> However when I am trying to run it in devmode I am having this error :
> *java.lang.NoClassDefFoundError: Could not initialize class* 
> *org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl*
>
> I have included all dependencies related to hibernate in my pom.xml with 
> the right versions of dependency I believe. 
> What am I missing?
>
>
> If it builds but does not "run" then it's likely a dependency scoping 
> issue: https://tbroyer.github.io/gwt-maven-plugin/codeserver.html
> Your Hibernate dependencies have provided so I would bet on 
> that.
>

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/87200c4c-5ad6-4c11-9462-3f586321051fn%40googlegroups.com.


Re: NoClassDefFoundError on a particular class while running gwt:codeserver

2024-04-05 Thread Thomas Broyer


On Thursday, April 4, 2024 at 9:29:21 PM UTC+2 dja...@gmail.com wrote:

Hi,

I can't seem to be able to point out what dependency I am missing while 
trying to run my gwt application in Devmode with gwt:codeserver.
I can  build the program, compile it and deploy it without a problem. 
However when I am trying to run it in devmode I am having this error :
*java.lang.NoClassDefFoundError: Could not initialize class* 
*org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl*

I have included all dependencies related to hibernate in my pom.xml with 
the right versions of dependency I believe. 
What am I missing?


If it builds but does not "run" then it's likely a dependency scoping 
issue: https://tbroyer.github.io/gwt-maven-plugin/codeserver.html
Your Hibernate dependencies have provided so I would bet on 
that.

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/9a51cfc3-3728-4b15-a971-f1408da29349n%40googlegroups.com.


Re: NoClassDefFoundError on a particular class while running gwt:codeserver

2024-04-05 Thread Jens
Maybe your hibernate is too 
new? 
https://docs.jboss.org/errai/latest/errai/reference/html_single/#_errai_jpa 
indicates that Hibernate 4.1.1 should be used.

-- J.

Mukeya Kassindye schrieb am Donnerstag, 4. April 2024 um 21:29:21 UTC+2:

> Hi,
>
> I can't seem to be able to point out what dependency I am missing while 
> trying to run my gwt application in Devmode with gwt:codeserver.
> I can  build the program, compile it and deploy it without a problem. 
> However when I am trying to run it in devmode I am having this error :
> *java.lang.NoClassDefFoundError: Could not initialize class* 
> *org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl*
>
> I have included all dependencies related to hibernate in my pom.xml with 
> the right versions of dependency I believe. 
> What am I missing?
>  
> here is the error log : 
>
> [INFO]  Computing all possible rebind results for 
> 'org.jboss.errai.marshalling.client.api.MarshallerFactory'
> [INFO] Rebinding 
> org.jboss.errai.marshalling.client.api.MarshallerFactory
> [INFO]Invoking generator 
> org.jboss.errai.marshalling.rebind.MarshallersGenerator
> [INFO]   Generating Marshallers Bootstrapper...
> [INFO]  Computing all possible rebind results for 
> 'org.jboss.errai.ioc.client.container.IOCEnvironment'
> [INFO] Rebinding 
> org.jboss.errai.ioc.client.container.IOCEnvironment
> [INFO]Invoking generator 
> org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCEnvironmentGenerator
> [INFO]   Generating Extensions Bootstrapper...
> [INFO]  Computing all possible rebind results for 
> 'org.jboss.errai.ioc.client.Bootstrapper'
> [INFO] Rebinding org.jboss.errai.ioc.client.Bootstrapper
> [INFO]Invoking generator 
> org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCGenerator
> [INFO]   generating ioc bootstrapping code...
> *[WARNING] java.util.concurrent.ExecutionException: 
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl*
> [WARNING]   at 
> java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
> [WARNING]   at 
> java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
> [WARNING]   at 
> org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:112)
> [WARNING]   at 
> org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:86)
> [WARNING]   at 
> org.jboss.errai.config.rebind.AbstractAsyncGenerator.startAsyncGeneratorsAndWaitFor(AbstractAsyncGenerator.java:205)
> [WARNING]   at 
> org.jboss.errai.jpa.rebind.ErraiEntityManagerGenerator.generate(ErraiEntityManagerGenerator.java:113)
> [WARNING]   at 
> com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)
> [WARNING]   at 
> com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:745)
> [WARNING]   at 
> com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:103)
> [WARNING]   at 
> com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:78)
> [INFO]  Computing all possible rebind results for 
> 'org.jboss.errai.jpa.client.local.ErraiEntityManagerFactory'
> [INFO] Rebinding 
> org.jboss.errai.jpa.client.local.ErraiEntityManagerFactory
> [INFO]Invoking generator 
> org.jboss.errai.jpa.rebind.ErraiEntityManagerGenerator
> [INFO]   [ERROR] Error generating 
> GeneratedErraiEntityManagerFactory
> [INFO] java.util.concurrent.ExecutionException: 
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl
> [INFO]  at 
> java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
> [INFO]  at 
> java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
> [INFO]  at 
> org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:112)
> [INFO]  at 
> org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:86)
> [INFO]  at 
> org.jboss.errai.config.rebind.AbstractAsyncGenerator.startAsyncGeneratorsAndWaitFor(AbstractAsyncGenerator.java:205)
> [WARNING]   at 
> com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:262)
> [INFO]  at 
> org.jboss.errai.jpa.rebind.ErraiEntityManagerGenerator.generate(ErraiEntityManagerGenerator.java:113)
> [WARNING]   at 
> com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:251)
> [INFO]  at 
> com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)
> [INFO]  at 
> com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:745)
> [WARNING]   at 
> 

NoClassDefFoundError on a particular class while running gwt:codeserver

2024-04-04 Thread Mukeya Kassindye
Hi,

I can't seem to be able to point out what dependency I am missing while 
trying to run my gwt application in Devmode with gwt:codeserver.
I can  build the program, compile it and deploy it without a problem. 
However when I am trying to run it in devmode I am having this error :
*java.lang.NoClassDefFoundError: Could not initialize class* 
*org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl*

I have included all dependencies related to hibernate in my pom.xml with 
the right versions of dependency I believe. 
What am I missing?
 
here is the error log : 

[INFO]  Computing all possible rebind results for 
'org.jboss.errai.marshalling.client.api.MarshallerFactory'
[INFO] Rebinding 
org.jboss.errai.marshalling.client.api.MarshallerFactory
[INFO]Invoking generator 
org.jboss.errai.marshalling.rebind.MarshallersGenerator
[INFO]   Generating Marshallers Bootstrapper...
[INFO]  Computing all possible rebind results for 
'org.jboss.errai.ioc.client.container.IOCEnvironment'
[INFO] Rebinding 
org.jboss.errai.ioc.client.container.IOCEnvironment
[INFO]Invoking generator 
org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCEnvironmentGenerator
[INFO]   Generating Extensions Bootstrapper...
[INFO]  Computing all possible rebind results for 
'org.jboss.errai.ioc.client.Bootstrapper'
[INFO] Rebinding org.jboss.errai.ioc.client.Bootstrapper
[INFO]Invoking generator 
org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCGenerator
[INFO]   generating ioc bootstrapping code...
*[WARNING] java.util.concurrent.ExecutionException: 
java.lang.NoClassDefFoundError: Could not initialize class 
org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl*
[WARNING]   at 
java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
[WARNING]   at 
java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
[WARNING]   at 
org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:112)
[WARNING]   at 
org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:86)
[WARNING]   at 
org.jboss.errai.config.rebind.AbstractAsyncGenerator.startAsyncGeneratorsAndWaitFor(AbstractAsyncGenerator.java:205)
[WARNING]   at 
org.jboss.errai.jpa.rebind.ErraiEntityManagerGenerator.generate(ErraiEntityManagerGenerator.java:113)
[WARNING]   at 
com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)
[WARNING]   at 
com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:745)
[WARNING]   at 
com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:103)
[WARNING]   at 
com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:78)
[INFO]  Computing all possible rebind results for 
'org.jboss.errai.jpa.client.local.ErraiEntityManagerFactory'
[INFO] Rebinding 
org.jboss.errai.jpa.client.local.ErraiEntityManagerFactory
[INFO]Invoking generator 
org.jboss.errai.jpa.rebind.ErraiEntityManagerGenerator
[INFO]   [ERROR] Error generating 
GeneratedErraiEntityManagerFactory
[INFO] java.util.concurrent.ExecutionException: 
java.lang.NoClassDefFoundError: Could not initialize class 
org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl
[INFO]  at 
java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
[INFO]  at 
java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
[INFO]  at 
org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:112)
[INFO]  at 
org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:86)
[INFO]  at 
org.jboss.errai.config.rebind.AbstractAsyncGenerator.startAsyncGeneratorsAndWaitFor(AbstractAsyncGenerator.java:205)
[WARNING]   at 
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:262)
[INFO]  at 
org.jboss.errai.jpa.rebind.ErraiEntityManagerGenerator.generate(ErraiEntityManagerGenerator.java:113)
[WARNING]   at 
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:251)
[INFO]  at 
com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)
[INFO]  at 
com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:745)
[WARNING]   at 
com.google.gwt.dev.PrecompilationContextCreator$1.getAllPossibleRebindAnswers(PrecompilationContextCreator.java:86)
[WARNING]   at 
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createStaticRebindExpression(UnifyAst.java:519)
[WARNING]   at 
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createRebindExpression(UnifyAst.java:487)
[WARNING]   at 

Re: GWT 2.8.1 NoClassDefFoundError OptionJsInteropMode

2017-10-02 Thread Carl Rahmström
You were right, I had an old 2.7 gwt-codeserver.jar referenced.

Thank you, gentlemen.

On Fri, Sep 29, 2017 at 10:52 PM Thomas Broyer  wrote:

> More precisely, you probably have a gwt-codeserver.jar from 2.7 (or a
> backwards compatible equivalent) and a gwt-dev.jar from 2.8.
> Actually, gwt-codeserver is useless starting with GWT 2.7, as it's merged
> into gwt-dev at build time.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "GWT Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/EfktzQLmhDQ/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> 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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 2.8.1 NoClassDefFoundError OptionJsInteropMode

2017-09-29 Thread Thomas Broyer
More precisely, you probably have a gwt-codeserver.jar from 2.7 (or a backwards 
compatible equivalent) and a gwt-dev.jar from 2.8.
Actually, gwt-codeserver is useless starting with GWT 2.7, as it's merged into 
gwt-dev at build time.

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 2.8.1 NoClassDefFoundError OptionJsInteropMode

2017-09-29 Thread Jens
The class in question does not exist anymore in GWT 2.8.x, so your IDE 
somehow still sees GWT 2.7.

Check your class path.

-- J.

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


GWT 2.8.1 NoClassDefFoundError OptionJsInteropMode

2017-09-29 Thread Carl
 

Upgrading from GWT 2.7 to 2.8.1 with a fresh install of Eclipse Oxygen and 
receive this error when we trying to launch dev mode (sdm). Any ideas?



Exception in thread "main" java.lang.NoClassDefFoundError: 
com/google/gwt/dev/util/arg/OptionJsInteropMode$Mode

at com.google.gwt.dev.codeserver.Options.(Options.java:81)

at com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:45)

Caused by: java.lang.ClassNotFoundException: 
com.google.gwt.dev.util.arg.OptionJsInteropMode$Mode

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)

... 2 more

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: NoClassDefFoundError (HttpSessionIdListener) when launching SDM, after switching from gwt-2.8.0-beta1 to rc2

2016-10-05 Thread Thomas Broyer
Or maybe adjust the classpathScope to include provided 
dependencies? 
http://tbroyer.github.io/gwt-maven-plugin/devmode-mojo.html#classpathScope 
/ http://tbroyer.github.io/gwt-maven-plugin/codeserver-mojo.html#classpathScope
(see also the samples from the GWT SDK, or the POM generated by 
webAppCreator)

On Wednesday, October 5, 2016 at 2:13:26 PM UTC+2, N Troncoso wrote:
>
> For anyone with the same issue as me, I had to remove the 
> *provided* in the dependency management for javax.servlet
>
> On Monday, October 3, 2016 at 9:22:48 AM UTC-4, N Troncoso wrote:
>>
>>
>> I'm having the same issue as Boris, except my dependency tree shows that 
>> I'm using 3.1:
>>
>> [INFO] +- com.google.gwt:gwt-user:jar:2.8.0-rc2:compile
>> [INFO] |  \- javax.servlet:javax.servlet-api:jar:3.1.0:provided (scope 
>> managed from compile)
>> [INFO] \- com.google.gwt:gwt-dev:jar:2.8.0-rc2:compile
>> [INFO]\- org.eclipse.jetty:apache-jsp:jar:9.2.14.v20151106:compile
>> [INFO]   +- 
>> org.eclipse.jetty:jetty-server:jar:9.2.14.v20151106:compile
>> [INFO]   |  \- (javax.servlet:javax.servlet-api:jar:3.1.0:provided - 
>> scope managed from compile; omitted for duplicate)
>> [INFO]   \- (javax.servlet:javax.servlet-api:jar:3.1.0:provided - 
>> scope managed from compile; omitted for duplicate)
>>
>> The only place this is specified is in the parent pom:
>>
>>
>> 
>> 
>> 
>> com.google.gwt
>> gwt
>> 2.8.0-rc2
>> pom
>> import
>> 
>> 
>> javax.servlet
>> javax.servlet-api
>> 3.1.0
>> provided
>> 
>> 
>> 
>>
>> I get the exact same error that he posted when trying to run the 
>> codeserver. The only difference is that he's using 
>> *gwt-maven-plugin:1.0-rc-4* and I'm using *gwt-maven-plugin:1.0-rc-6*
>>
>

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: NoClassDefFoundError (HttpSessionIdListener) when launching SDM, after switching from gwt-2.8.0-beta1 to rc2

2016-10-05 Thread N Troncoso
For anyone with the same issue as me, I had to remove the 
*provided* in the dependency management for javax.servlet

On Monday, October 3, 2016 at 9:22:48 AM UTC-4, N Troncoso wrote:
>
>
> I'm having the same issue as Boris, except my dependency tree shows that 
> I'm using 3.1:
>
> [INFO] +- com.google.gwt:gwt-user:jar:2.8.0-rc2:compile
> [INFO] |  \- javax.servlet:javax.servlet-api:jar:3.1.0:provided (scope 
> managed from compile)
> [INFO] \- com.google.gwt:gwt-dev:jar:2.8.0-rc2:compile
> [INFO]\- org.eclipse.jetty:apache-jsp:jar:9.2.14.v20151106:compile
> [INFO]   +- org.eclipse.jetty:jetty-server:jar:9.2.14.v20151106:compile
> [INFO]   |  \- (javax.servlet:javax.servlet-api:jar:3.1.0:provided - 
> scope managed from compile; omitted for duplicate)
> [INFO]   \- (javax.servlet:javax.servlet-api:jar:3.1.0:provided - 
> scope managed from compile; omitted for duplicate)
>
> The only place this is specified is in the parent pom:
>
>
> 
> 
> 
> com.google.gwt
> gwt
> 2.8.0-rc2
> pom
> import
> 
> 
> javax.servlet
> javax.servlet-api
> 3.1.0
> provided
> 
> 
> 
>
> I get the exact same error that he posted when trying to run the 
> codeserver. The only difference is that he's using 
> *gwt-maven-plugin:1.0-rc-4* and I'm using *gwt-maven-plugin:1.0-rc-6*
>

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: NoClassDefFoundError (HttpSessionIdListener) when launching SDM, after switching from gwt-2.8.0-beta1 to rc2

2016-10-03 Thread N Troncoso

I'm having the same issue as Boris, except my dependency tree shows that 
I'm using 3.1:

[INFO] +- com.google.gwt:gwt-user:jar:2.8.0-rc2:compile
[INFO] |  \- javax.servlet:javax.servlet-api:jar:3.1.0:provided (scope 
managed from compile)
[INFO] \- com.google.gwt:gwt-dev:jar:2.8.0-rc2:compile
[INFO]\- org.eclipse.jetty:apache-jsp:jar:9.2.14.v20151106:compile
[INFO]   +- org.eclipse.jetty:jetty-server:jar:9.2.14.v20151106:compile
[INFO]   |  \- (javax.servlet:javax.servlet-api:jar:3.1.0:provided - 
scope managed from compile; omitted for duplicate)
[INFO]   \- (javax.servlet:javax.servlet-api:jar:3.1.0:provided - scope 
managed from compile; omitted for duplicate)

The only place this is specified is in the parent pom:





com.google.gwt
gwt
2.8.0-rc2
pom
import


javax.servlet
javax.servlet-api
3.1.0
provided




I get the exact same error that he posted when trying to run the 
codeserver. The only difference is that he's using 
*gwt-maven-plugin:1.0-rc-4* and I'm using *gwt-maven-plugin:1.0-rc-6*

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: NoClassDefFoundError (HttpSessionIdListener) when launching SDM, after switching from gwt-2.8.0-beta1 to rc2

2016-08-16 Thread Boris Brudnoy
The addition of the morsel about "managed from 3.1.0" pivoted me into
looking in the dependencyManagement section of the parent project, and
there it was, the declaration I somehow glossed over:

  
javax.servlet
javax.servlet-api
3.0.1
provided
  

Removing it resolved the problem. Thanks Jens and Thomas!

On Tue, Aug 16, 2016 at 4:46 PM Thomas Broyer  wrote:

> "version managed from 3.1.0" means that gwt-user depends on 3.1.0 but your
> dependency tree somehow "manages" the version to be 3.0.1. This (I believe)
> means you have 3.0.1 somewhere in your dependencyManagement.
>
> --
> 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 google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
*BORIS BRUDNOY*
Web Application Developer, Java/GWT Enthusiast (LinkedIn
)

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: NoClassDefFoundError (HttpSessionIdListener) when launching SDM, after switching from gwt-2.8.0-beta1 to rc2

2016-08-16 Thread Thomas Broyer
"version managed from 3.1.0" means that gwt-user depends on 3.1.0 but your 
dependency tree somehow "manages" the version to be 3.0.1. This (I believe) 
means you have 3.0.1 somewhere in your dependencyManagement.

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: NoClassDefFoundError (HttpSessionIdListener) when launching SDM, after switching from gwt-2.8.0-beta1 to rc2

2016-08-16 Thread Boris Brudnoy
Grepcode is telling me

that javax.servlet.http.HttpSessionIdListener exists only since
javax.servlet-api 3.1, however the dependency:tree command suggests that
GWT 2.8 RC2 uses 3.0.1 (I don't undertand the "version managed from 3.1.0"
part, though):

[INFO] +- com.google.gwt:gwt-user:jar:2.8.0-rc2:compile
[INFO] |  \- javax.servlet:javax.servlet-api:jar:3.0.1:provided (version
managed from 3.1.0; scope managed from compile)

(I replaced the only reference to Servlets API 2.5 in my project, first
with 3.0.1 and then with 3.1, but to no avail)

On Mon, Aug 15, 2016 at 11:51 AM Jens  wrote:

> GWT uses Jetty 9 so it expects servlet-api 3.1. If your project depends on
> a different version you need to fix that, so look at your dependency tree
> to see where it comes from.
>
> mvn dependency:tree -Dverbose 
> -Dincludes=javax.servlet:servlet-api,javax.servlet:javax.servlet-api
>
>
> I hope the include pattern is correct, otherwise just omit it.
>
> -- J.
>
> --
> 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 google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
*BORIS BRUDNOY*
Web Application Developer, Java/GWT Enthusiast (LinkedIn
)

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: NoClassDefFoundError (HttpSessionIdListener) when launching SDM, after switching from gwt-2.8.0-beta1 to rc2

2016-08-15 Thread Jens
GWT uses Jetty 9 so it expects servlet-api 3.1. If your project depends on 
a different version you need to fix that, so look at your dependency tree 
to see where it comes from.

mvn dependency:tree -Dverbose 
-Dincludes=javax.servlet:servlet-api,javax.servlet:javax.servlet-api


I hope the include pattern is correct, otherwise just omit it.

-- J.

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


NoClassDefFoundError (HttpSessionIdListener) when launching SDM, after switching from gwt-2.8.0-beta1 to rc2

2016-08-15 Thread Boris Brudnoy
 

Hello all,


After switching GWT version from '2.8.0-beta1' to '2.8.0-rc2' in my Maven 
project's pom.xml, launching code server by running `gwt:codeserver` 
started to fail:


[ERROR] Failed to execute goal 
net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-4:codeserver (default-cli)


With this stack trace preceding the error:


[INFO]Module setup completed in 7362 ms

[WARNING] java.lang.NoClassDefFoundError: 
javax/servlet/http/HttpSessionIdListener

[WARNING] at 
org.eclipse.jetty.server.session.SessionHandler.(SessionHandler.java:54)

[WARNING] at 
org.eclipse.jetty.servlet.ServletContextHandler.newSessionHandler(ServletContextHandler.java:241)

[WARNING] at 
org.eclipse.jetty.servlet.ServletContextHandler.getSessionHandler(ServletContextHandler.java:334)

[WARNING] at 
org.eclipse.jetty.servlet.ServletContextHandler.relinkHandlers(ServletContextHandler.java:180)

[WARNING] at 
org.eclipse.jetty.servlet.ServletContextHandler.(ServletContextHandler.java:157)

[WARNING] at 
org.eclipse.jetty.servlet.ServletContextHandler.(ServletContextHandler.java:117)

[WARNING] at 
org.eclipse.jetty.servlet.ServletContextHandler.(ServletContextHandler.java:105)

[WARNING] at 
com.google.gwt.dev.codeserver.WebServer.start(WebServer.java:129)

[WARNING] at 
com.google.gwt.dev.codeserver.CodeServer.start(CodeServer.java:161)

[WARNING] at 
com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:102)

[WARNING] at 
com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:55)

[WARNING] Caused by: java.lang.ClassNotFoundException: 
javax.servlet.http.HttpSessionIdListener

[WARNING] at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

[WARNING] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

[WARNING] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)

[WARNING] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

[WARNING] ... 11 more


I'm guessing it's to do with the version of the Servlet API being depended 
on somewhere but so far my attempts to add/substitute/exclude dependencies 
led nowhere.


Thanks,


Boris

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


ManifestServlet throwing NoClassDefFoundError

2015-02-19 Thread piotr


Hi all,

For my MGWT app in Eclipse I’ve created a ManifestServlet that extends a 
ManifestServletBase class in a different Eclipse project (library). Having 
set the app project’s build path to include the other project all works 
fine when compiling the app project. 

But when debugging the app (and thus running the ManifestServlet), Jetty 
server does not see the ManifestServlet parent class (ManifestServletBase) 
which is extended and throws a NoClassDefFoundError. 

Is there a way to inform Jetty where it can find the parent class - without 
creating a jar from the other project and adding it to the web-inf/lib 
directory?

Thanks in advance,

Piotr

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Super Dev Mode 2.6 : NoClassDefFoundError

2014-03-20 Thread Philippe Pithon
After test, I can't deploy 2.6.0-1-SNAPSHOT to my repo (much error...)

So I create a little project maven gwt 2.6.0 using :
mvn gwt:run-codeserver

there is error : NoClassDefFoundError

So I try mvn process-classes gwt:run-codeserver and it's work !
Next, visit: http://localhost:9876/

I have now the message Can't find any GWT Modules on this page.

Yet, I have add this in ...gwt.xml :

add-linker name=xsiframe /
set-configuration-property name=devModeRedirectEnabled value=true /
set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE'/ 

and execute mvn verify

How to debug this last problem ???




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Super Dev Mode 2.6 : NoClassDefFoundError

2014-03-17 Thread Philippe Pithon
Hello,
As dev mode no longer works with firefox 27, I try to use Super Dev mode 
but
Problem when I use command maven : gwt:run-codeserver

NoClassDefFoundError ! Ideas ???


[INFO] Caused by: java.lang.NoClassDefFoundError: 
fr.sigal.solrclientsmart.client.GreetingServiceAsync
[INFO] at 
com.google.gwt.dev.jjs.impl.UnifyAst.searchForTypeByBinary(UnifyAst.java:1009)
[INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1074)
[INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1126)
[INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.access$900(UnifyAst.java:124)
[INFO] at 
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.visit(UnifyAst.java:365)
[INFO] at 
com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:241)
[INFO] at 
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
[INFO] at 
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
[INFO] ... 33 more
[INFO]   [ERROR] at solrclientsmart.java(56): 
Engine.getGreetingService().getStartParam(new solrclientsmart$2(this, 
false))
[INFO]  com.google.gwt.dev.jjs.ast.JMethodCall
[INFO]   [ERROR] at solrclientsmart.java(56): 
Engine.getGreetingService().getStartParam(new solrclientsmart$2(this, 
false))
[INFO]  com.google.gwt.dev.jjs.ast.JExpressionStatement
[INFO]   [ERROR] at solrclientsmart.java(22): {
[INFO]   GWT.setUncaughtExceptionHandler(new solrclientsmart$1(this));
[INFO]   Engine.getGreetingService().getStartParam(new 
solrclientsmart$2(this, false));
[INFO] }
[INFO]  com.google.gwt.dev.jjs.ast.JBlock
[INFO]   [ERROR] at solrclientsmart.java(22): {
[INFO]   GWT.setUncaughtExceptionHandler(new solrclientsmart$1(this));
[INFO]   Engine.getGreetingService().getStartParam(new 
solrclientsmart$2(this, false));
[INFO] }
[INFO]  com.google.gwt.dev.jjs.ast.JMethodBody
[INFO]   [ERROR] at solrclientsmart.java(22): public void 
onModuleLoad();
[INFO] 
[INFO]  com.google.gwt.dev.jjs.ast.JMethod
[INFO] [ERROR] Compiler returned false
[ERROR] com.google.gwt.core.ext.UnableToCompleteException: (see previous 
log entries)


-

My pom.xml :



?xml version=1.0 encoding=UTF-8?
project xmlns=http://maven.apache.org/POM/4.0.0; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;

!-- POM file generated with GWT webAppCreator --
modelVersion4.0.0/modelVersion
groupIdfr.sigal.web/groupId
artifactIdsigalindexing/artifactId
packagingwar/packaging
version0.0.1-SNAPSHOT/version
nameGWT Maven Archetype/name


properties
!-- Convenience property to set the GWT version --
gwtVersion2.6.0/gwtVersion
!-- GWT needs at least java 1.5 --
webappDirectory${project.build.directory}/${project.build.finalName}/webappDirectory
project.build.sourceEncodingUTF-8/project.build.sourceEncoding

/properties

dependencies
dependency
groupIdcom.google.gwt/groupId
artifactIdgwt-servlet/artifactId
version${gwtVersion}/version
scoperuntime/scope
/dependency
dependency
groupIdcom.google.gwt/groupId
artifactIdgwt-user/artifactId
version${gwtVersion}/version
scopeprovided/scope
/dependency
dependency
groupIdjunit/groupId
artifactIdjunit/artifactId
version4.7/version
scopetest/scope
/dependency
dependency
groupIdjavax.validation/groupId
artifactIdvalidation-api/artifactId
version1.0.0.GA/version
scopetest/scope
/dependency
dependency
groupIdjavax.validation/groupId
artifactIdvalidation-api/artifactId
version1.0.0.GA/version
classifiersources/classifier
scopetest/scope
/dependency

dependency
groupIdfr.sigal.web/groupId
artifactIdsigal-tools-gwt/artifactId
version0.0.1-SNAPSHOT/version
/dependency

dependency
groupIdfr.sigal.web/groupId
artifactIdsigal-desktop-smart/artifactId
version1.0/version
/dependency


!-- dependency groupIdcom.smartgwt/groupId 
artifactIdsmartgwt/artifactId 
version4.0/version /dependency --

dependency
groupIdorg.apache.solr/groupId
artifactIdsolr-solrj/artifactId
version4.6.0/version
/dependency

dependency
groupIdorg.slf4j/groupId
artifactIdslf4j-api/artifactId
version1.6.4/version
/dependency

dependency
groupIdorg.slf4j/groupId
artifactIdjcl-over-slf4j/artifactId
version1.6.4/version
/dependency

dependency
groupIdorg.jsoup/groupId
artifactIdjsoup/artifactId
version0.2.2/version
/dependency

dependency
groupIdorg.glassfish/groupId
artifactIdjavax.ejb/artifactId
version3.1/version
scopeprovided/scope
/dependency

dependency
groupIdjavax/groupId
artifactIdjavaee-api/artifactId
version6.0/version
scopeprovided/scope
/dependency

dependency
groupIdjavax.mail/groupId
artifactIdmail/artifactId
version1.4.7/version
!-- version1.5.0-b01/version --
/dependency

dependency
groupIdfr.sigal.web/groupId
artifactIdsigal-tools-jee/artifactId
version17.1-SNAPSHOT/version
/dependency

dependency
groupIdorg.apache.tika/groupId
artifactIdtika-core/artifactId
version1.4/version
/dependency





/dependencies

build
!-- Generate compiled stuff

Re: Super Dev Mode 2.6 : NoClassDefFoundError

2014-03-17 Thread Thomas Broyer


On Monday, March 17, 2014 4:19:21 PM UTC+1, Philippe Pithon wrote:

 Hello,
 As dev mode no longer works with firefox 27, I try to use Super Dev mode 
 but
 Problem when I use command maven : gwt:run-codeserver

 NoClassDefFoundError ! Ideas ???


 [INFO] Caused by: java.lang.NoClassDefFoundError: 
 fr.sigal.solrclientsmart.client.GreetingServiceAsync


You might be running into a weird bug we have in gwt-maven-plugin 2.6.0 
(fixed in master, will be in 2.6.1). Try using mvn process-classes 
gwt:run-codeserver.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Super Dev Mode 2.6 : NoClassDefFoundError

2014-03-17 Thread Philippe Pithon
I tried your solution but same problem...



Le lundi 17 mars 2014 16:33:09 UTC+1, Thomas Broyer a écrit :



 On Monday, March 17, 2014 4:19:21 PM UTC+1, Philippe Pithon wrote:

 Hello,
 As dev mode no longer works with firefox 27, I try to use Super Dev mode 
 but
 Problem when I use command maven : gwt:run-codeserver

 NoClassDefFoundError ! Ideas ???


 [INFO] Caused by: java.lang.NoClassDefFoundError: 
 fr.sigal.solrclientsmart.client.GreetingServiceAsync


 You might be running into a weird bug we have in gwt-maven-plugin 2.6.0 
 (fixed in master, will be in 2.6.1). Try using mvn process-classes 
 gwt:run-codeserver.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Super Dev Mode 2.6 : NoClassDefFoundError

2014-03-17 Thread Andreas Horst
If kind of everything fails you could clone
https://github.com/gwt-maven-plugin/gwt-maven-plugin to locally install and
use version 2.6.0-1-SNAPSHOT of the plugin in order to get going. It really
works quite smooth, though I had to skip tests because of a breaking API
change in one of the contributing plugins.

Give it a try. I did this myself in order to try out SDM.

2014-03-17 18:04 GMT+01:00 Philippe Pithon pithon.philippe@gmail.com:

 I tried your solution but same problem...



 Le lundi 17 mars 2014 16:33:09 UTC+1, Thomas Broyer a écrit :



 On Monday, March 17, 2014 4:19:21 PM UTC+1, Philippe Pithon wrote:

 Hello,
 As dev mode no longer works with firefox 27, I try to use Super Dev mode
 but
 Problem when I use command maven : gwt:run-codeserver

 NoClassDefFoundError ! Ideas ???


 [INFO] Caused by: java.lang.NoClassDefFoundError:
 fr.sigal.solrclientsmart.client.GreetingServiceAsync


 You might be running into a weird bug we have in gwt-maven-plugin 2.6.0
 (fixed in master, will be in 2.6.1). Try using mvn process-classes
 gwt:run-codeserver.

  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://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 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


NoClassDefFoundError on Tomcat versus Hosted Mode with Jetty

2011-09-06 Thread Samuel
I have identical code that throws a NoClassDefFoundError when
executing on Tomcat versus works fine with Hosted Mode with Jetty.

The exception is:
ERROR ajp-8009-3 org.apache.catalina.core.ContainerBase.[Catalina].
[localhost].[/GSSCalendar] - Exception while dispatching incoming RPC
call
 com.google.gwt.user.server.rpc.UnexpectedException: Service method
'public abstract java.lang.String
com.company.client.EngineerDAOService.readCalendarFromEngineer(java.lang.String)
throws java.lang.IllegalArgumentException' threw an unexpected
exception: java.lang.NoClassDefFoundError: Could not initialize class
net.fortuna.ical4j.data.CalendarParserFactory
at
com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:
385)
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:
588)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:
208)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:
248)
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:
62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

The WEB-INF/lib is:
ls war/WEB-INF/lib/
antlr-2.7.6.jar
hibernate3.jar
backport-util-concurrent-3.1.jar ical4j-1.0-
rc3.jar
c3p0-0.9.1.jar
javassist-3.12.0.GA.jar
commons-collections-3.1.jar  joda-
time-2.0.jar
commons-io-2.0.1.jar jta-1.1.jar
dom4j-1.6.1.jar
log4j-1.2.16.jar
gwt-servlet.jar  mysql-
connector-java-5.1.17-bin.jar
hibernate-jpa-2.0-api-1.0.1.Final.jarslf4j-
api-1.6.1.jar
hibernate-validator-4.2.0.Final.jar  slf4j-
log4j12-1.6.2.jar
hibernate-validator-annotation-processor-4.2.0.Final.jar validation-
api-1.0.0.GA.jar

Which contains the ical4j-1.0-rc3.jar:
egrep -ir CalendarParserFactory /var/lib/tomcat6/webapps/GSSCalendar/
WEB-INF/lib/
Binary file /var/lib/tomcat6/webapps/GSSCalendar/WEB-INF/lib/
ical4j-1.0-rc3.jar matches


So the class is definitely there in the jar in the WEB-INF/lib in the
webapp.  The code that throws this looks like (abridged):

engineerService.readCalendarFromEngineer(userid, new
AsyncCallbackString() {...}

com.jboss.support.server.EngineerDAOServiceImpl.java contains:
@Override
public String readCalendarFromEngineer(String userid) throws
IllegalArgumentException {
CalendarParser calendarParser = new CalendarParser();
return calendarParser.readEngineerCalendar(userid);
}

It is in the CalendarParser where the ical libraries are called.  Only
the server side should ever touch the ical libraries, and from looking
at the code I've written, that is the case.  I can't figure out why
then on the RPC call the CalendarParserFactory can't be found in
Tomcat.  Any and all help is greatly appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Beginner: Ext GWT - NoClassDefFoundError: com/google/gwt/core/ext/Generator

2011-05-01 Thread Will
Hi,

I have set up the basic GWT HelloWorld equivalent and all works fine..
RPC call etc..
I have followed the most basic Ext GWT (Sencha) tutorial to convert
this to ExtGWT project

ref: http://www.sencha.com/learn/Ext_GWT_Getting_Started_Tutorials

Its a really simple tutorial...copy in resources, a few minor
edits It takes a few mins. It worked first time but refuses to
work now!!! Once I insert the line inheriting Ext stuff in my
xxx.gwt.xml file I get a runtime error where it cant finid the GWT
Generator class. I can see from eclipse debug mode that the GWT jars,
gwt-dev.jar and gwt-user.jar:  (from Eclipse plugin) are on
classpath..

xxx.gwt.xml file:
!-- Other module inherits  --
  inherits name=com.extjs.gxt.ui.GXT /

At run time an exception is thrown as it fails to find com/google/gwt/
core/ext/Generator. If i remove this 'inherit' the error disappears!

Loading modules
   com.hello.gwt.HelloGWT
  Loading inherited module 'com.extjs.gxt.ui.GXT'
 [ERROR] Unexpected error while processing XML
java.lang.NoClassDefFoundError: com/google/gwt/core/ext/Generator
at java.lang.ClassLoader.findBootstrapClass(Native Method)

Any tips greatly appreciated...

Best regards,
W

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT Visualization NoClassDefFoundError

2011-01-13 Thread Ross McKinnon
Hi there,

Im trying to create an OrgChart via GWT Visualizations, however i keep
getting this error when i try create it! i Have the JAR files in both
the buildpath and the war/web-inf/lib and still having no such luck!
Does anyone use this package and know why this might be happening?

Thanks,
Ross

--Error I am recieving
Uncaught exception escaped : java.lang.NoClassDefFoundError
com/google/gwt/visualization/client/visualizations/OrgChart
See the Development console log for details.
Register a GWT.setUncaughtExceptionHandler(..) for custom uncaught
exception handling.

-- Code that is creating it

public OrgChart createChart(){
OrgChart chart = new OrgChart();
chart.draw(createTable());


return chart;
}

private AbstractDataTable createTable() {
com.google.gwt.visualization.client.DataTable data =
com.google.gwt.visualization.client.DataTable.create();
data.addColumn(ColumnType.STRING, Req);
data.addColumn(ColumnType.STRING, Parent);
data.addColumn(ColumnType.STRING, ToolTip);
data.addRows(list.size());
data.setValue(0,0, req);
for(int i = 0;ilist.size();i++){
data.setValue(i,0,list.get(i).getReq_title());
}
return data;
  }

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT Visualization NoClassDefFoundError

2011-01-13 Thread Y2i
Is it possible that you didn't inherit from 
com.google.gwt.visualization.Visualization 
module?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



NoClassDefFoundError:

2011-01-08 Thread pieceovcake
i get the following app engine error

NoClassDefFoundError: com/google/gwt/maps/client/geocode/DirectionsCallback


when executing the following code on the server

 String fromTo = from + to;

 Directions.load(fromTo, new DirectionsCallback() {
 public void onFailure(int statusCode) {
 log.severe(directions call back failure );
 }
 
 public void onSuccess(DirectionResults result) {
 Distance distance = result.getDistance();
 // calculate cost of trip
 double tripMeters = distance.inMeters();
 double tripKilometers = tripMeters/1000;
 log.severe(Distance to new pickup order is + 
Double.toString(tripKilometers));

 if ( MAXDISTANCE  tripKilometers){
driverDistanceStatus = true;
}
}
 });

can anyone tell me why?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: NoClassDefFoundError:

2011-01-08 Thread pieceovcake
could i be getting this error because the code is executing on the server 
rather then the client?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Multi-Project GWT Application and NoClassDefFoundError

2010-11-01 Thread masterGaurav
Hi Guys,

I have a GWT+GAE application split under multiple Eclipse projects,
all GWT projects.

I have the structure similar to the following:

- MainApp: With module entry point and server side code for GAE.
- AppServices: All GWT-RPC service definitions with Async interfaces.
For example, LoginService and LoginServiceAsync etc.
- AppCore: Core interfaces and classes

MainApp contains the implementations for the RPC interfaces (e.g.:
LoginServiceImpl etc)

The problem is that when I build the project, the LoginService class
file is never copied to the war/WEB-INF/classes folder. So, during the
build time, it's all find but during runtime it gives an error -
NoClassDefFoundError.

I failed to locate any solution for the same on the web.

So, finally, I customized the build.xml file and have put up a small
DIY documentation at 
http://blogs.mastergaurav.com/2010/10/28/google-app-engine-and-gwt-multi-project-application


Hope you find it useful.


--
Happy Hacking,
Gaurav Vaish
http://www.mastergaurav.com

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



NoClassDefFoundError

2010-10-05 Thread wingdings
im getting this random error today i dont know why it was working
better yesterday

javax.servlet.ServletContext log: Exception while dispatching incoming
RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method
'public abstract java.lang.Boolean
com.dushyant.PO.client.PoService.SavePOrder(java.util.ArrayList)'
threw an unexpected exception: java.lang.NoClassDefFoundError: Could
not initialize class com.dushyant.PO.server.PMF
at
com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:
378)
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:
581)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:
188)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:
224)
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:
62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
511)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1166)
at
com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:
97)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:
35)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:
43)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
388)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
216)
.
.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



NoClassDefFoundError on deployed gwt application

2010-09-20 Thread Pascal
Hi,

I have encountered a problem, when calling a gwt server method on
tomcat. I get a NoClassDefFoundError within the gwt servlet that
references and uses another class in a jar package. The error happens
where the class of the jar is used for the first time inside the
server class. This jar package is in the lib folder of my application
and is used for mysql db connectivity.
In eclipse things work perfect and I reference exactly the same libs
(basically all jars of the lib folder).

The structure of the app:
tomcat6/webapps/ROOT/WEB-INF
*web.xml
+classes/com/myFolder/projectA/./server
*MyClass.class (referencing an other class from the myJar.jar in the
lib folder)
+lib
+myJar.jar
*com/myFolder/projectB/../MyReferencedClass.class

The error trace:

org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Allocate exception for servlet MyClass
java.lang.NoClassDefFoundError: Could not initialize class
com.myFolder.projectBMyReferencedClass
at com.myFolder.projectA..server.MyClass.initialize(MyClass.java:
29)


Can anyone please help me?
Thanks!
Pascal

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



NoClassDefFoundError with gwt.dev.Compiler

2010-09-03 Thread Esslem GHODBANE
Hello,

I'm new with GWT, and I'd like to run my first GWT application.
When I build this project mvn clean install, I received this log error :


[INFO] Scanning for projects...
[INFO]

[INFO] Building gwt-maven-archetype-project
[INFO]
[INFO] Id: org.exo.gwt:GWTSample:war:1.0
[INFO] task-segment: [install]
[INFO]

[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 1 source file to
D:\exo\workspaces\sebastian.trunk.timeline\GWTSample\target\war\WEB-INF\classes
[INFO] [gwt:compile]
[INFO] using GWT jars from project dependencies : 2.0.3
[INFO] auto discovered modules [org.exoplatform.gwt.gwtSample.Application]
[INFO] establishing classpath list (scope = compile)
[ERROR] java.lang.NoClassDefFoundError: com/google/gwt/dev/Compiler
[ERROR] Caused by: java.lang.ClassNotFoundException:
com.google.gwt.dev.Compiler
[ERROR] at java.net.URLClassLoader$1.run(Unknown Source)
[ERROR] at java.security.AccessController.doPrivileged(Native Method)
[ERROR] at java.net.URLClassLoader.findClass(Unknown Source)
[ERROR] at java.lang.ClassLoader.loadClass(Unknown Source)
[ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
[ERROR] at java.lang.ClassLoader.loadClass(Unknown Source)
[ERROR] Could not find the main class: com.google.gwt.dev.Compiler.  Program
will exit.
[ERROR] Exception in thread main
[ERROR]

The following mojo encountered an error while executing:
Group-Id: org.codehaus.mojo
Artifact-Id: gwt-maven-plugin
Version: 1.2
Mojo: compile
brought in via: POM

While building project:
Group-Id: org.exo.gwt
Artifact-Id: GWTSample
Version: 1.0
From file: D:\exo\workspaces\sebastian.trunk.timeline\GWTSample\pom.xml
Reason: Command [[
D:\exo\jdk1.6\jre6\bin\java -Xmx512m -classpath ...
]] failed with status 1

Is there any suggestions please ?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: XSL Transformation, AccessControlException, NoClassDefFoundError and SyntheticRepository

2010-07-27 Thread Jan
I'm sorry, the reason for having all those error messages was that I
forgot to put serializer-version.jar and xalan-version.jar into /
WEB-INF/lib.
Best regards
Jan

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: XSL Transformation, AccessControlException, NoClassDefFoundError and SyntheticRepository

2010-07-23 Thread Jan
Hi,

I made further investigations. The strange thing about this error is
the fact that AccessControlException occurs for my project's src
directory. The path, which the error message specifies, is even an
absolute windows path. However, the resource files, which I open
inside the program, are located inside war/WEB-INF.

Searching the internet, I found the following explanation (Citation
from http://forums.sun.com/thread.jspa?threadID=5370375):
we encountered this as well. upon investigating into the depths of
the transformer code, the problem seems to be that the class
SyntheticRepository is making a call to ClassPath.getClassPath() which
attempts to access all the directories listed in various system
classpaths. if the calling code does not have read access to these
paths, then the call throws a securityexception and the
SyntheticRepository class fails to load, which borks the overall
transformer initialization. the kicker in all of this, is that the
call to ClassPath.getClassPath() seems entirely extraneous, as the
results of the call are never actually used for anything! it's pretty
much a bug.

In the following you can find a code snippet which works on a local
tomcat server however fails on gwt/gae. It considers already the
workaround for the bug emurmur mentioned. You can take the stylesheet
from
http://www.antennahouse.com/XSLsample/sample-xsl-xhtml2fo/xhtml2fo.xsl

protected void doGet(HttpServletRequest request,HttpServletResponse
response) throws ServletException, IOException
{
 
System.setProperty(javax.xml.transform.TransformerFactory,com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl);

   String xslInputFilename = /WEB-INF/xhtml2fo.xsl;

   TransformerFactory factory = TransformerFactory.newInstance();
   factory.setAttribute(debug, true);

   try {
  Transformer transformer = factory.newTransformer(new
StreamSource(getServletContext().getResourceAsStream(xslInputFilename)));
   } catch (TransformerConfigurationException e) {
   e.printStackTrace();
  }
}

I would really appreciate further help. Especially a workaround for
the misbehaviour of SyntheticRepository would be nice.
Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



XSL Transformation, AccessControlException, NoClassDefFoundError and SyntheticRepository

2010-07-21 Thread Jan
Hi,

I would like to use an xsl transformation inside an HttpServlet. The
code is essentially the following:

File xslfile = new File(test.xsl);
TransformerFactory factory = TransformerFactory.newInstance();
factory.setAttribute( debug, true );
Transformer transformer = factory.newTransformer(new
StreamSource( xslfile ) );

I already made sure that the xsl file is valid and I defined it as
resource-file inside appengine-web.xml

If I now call the servlet the first time, the following error occurs:

java.lang.ExceptionInInitializerError
at
com.sun.org.apache.bcel.internal.classfile.JavaClass.init(JavaClass.java:
109)
at
com.sun.org.apache.bcel.internal.classfile.JavaClass.init(JavaClass.java:
228)
at
com.sun.org.apache.bcel.internal.generic.ClassGen.getJavaClass(ClassGen.java:
174)
at
com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.translate(Stylesheet.java:
735)
at
com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:
354)
at
com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:
429)
at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:
795)
at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:
617)
at com.axag.invoiceedit.server.MY SERVLET.doGet(MY SERVLET:240)
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:
511)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1166)
at
com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:
51)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:
43)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:
122)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
388)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
418)
at
com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:
70)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at com.google.appengine.tools.development.JettyContainerService
$ApiProxyHandler.handle(JettyContainerService.java:349)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
542)
at org.mortbay.jetty.HttpConnection
$RequestHandler.headerComplete(HttpConnection.java:923)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
409)
at org.mortbay.thread.QueuedThreadPool
$PoolThread.run(QueuedThreadPool.java:582)
Caused by: java.security.AccessControlException: access denied
(java.io.FilePermission PATH TO MY PROJECT'S SRC DIRECTORY read)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:
323)
at
java.security.AccessController.checkPermission(AccessController.java:
546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:
532)
at com.google.appengine.tools.development.DevAppServerFactory
$CustomSecurityManager.checkPermission(DevAppServerFactory.java:166)
at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
at java.io.File.exists(File.java:731)
at
com.sun.org.apache.bcel.internal.util.ClassPath.getPathComponents(ClassPath.java:
143)
at
com.sun.org.apache.bcel.internal.util.ClassPath.getClassPath(ClassPath.java:
169)
at
com.sun.org.apache.bcel.internal.util.SyntheticRepository.clinit(SyntheticRepository.java:
86)
... 36 more
FEHLER:  'null'
SCHWER WIEGENDER FEHLER:  'Die Formatvorlage konnte nicht kompiliert
werden.'
javax.xml.transform.TransformerConfigurationException: Die
Formatvorlage konnte 

Re: XSL Transformation, AccessControlException, NoClassDefFoundError and SyntheticRepository

2010-07-21 Thread lineman78
From what I can tell it is failing while compiling the stylesheet.  I
would suggest taking app engine out of the loop altogether first and
just so it in a static main to make sure it is compiling.  If it works
as a static main than it is probably the file IO.  To test this I
recommend to try just reading the file to the log to make sure that
you actually have a hold of the file.  I have found that the most
reliable way to read in a file is not to use the File constructor, but
assuming the name of your class is XsltService:

XsltService.class.getResourceAsStream(test.xsl); // Assuming
test.xsl is in the same folder as the class file, set to /test.xsl
if it is in the root.

On Jul 21, 6:42 am, Jan jan.morl...@googlemail.com wrote:
 Hi,

 I would like to use an xsl transformation inside an HttpServlet. The
 code is essentially the following:

 File xslfile = new File(test.xsl);
 TransformerFactory factory = TransformerFactory.newInstance();
 factory.setAttribute( debug, true );
 Transformer transformer = factory.newTransformer(new
 StreamSource( xslfile ) );

 I already made sure that the xsl file is valid and I defined it as
 resource-file inside appengine-web.xml

 If I now call the servlet the first time, the following error occurs:

 java.lang.ExceptionInInitializerError
         at
 com.sun.org.apache.bcel.internal.classfile.JavaClass.init(JavaClass.java:
 109)
         at
 com.sun.org.apache.bcel.internal.classfile.JavaClass.init(JavaClass.java:
 228)
         at
 com.sun.org.apache.bcel.internal.generic.ClassGen.getJavaClass(ClassGen.java:
 174)
         at
 com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.translate(Stylesheet.java:
 735)
         at
 com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:
 354)
         at
 com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:
 429)
         at
 com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:
 795)
         at
 com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:
 617)
         at com.axag.invoiceedit.server.MY SERVLET.doGet(MY SERVLET:240)
         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:
 511)
         at org.mortbay.jetty.servlet.ServletHandler
 $CachedChain.doFilter(ServletHandler.java:1166)
         at
 com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:
 51)
         at org.mortbay.jetty.servlet.ServletHandler
 $CachedChain.doFilter(ServletHandler.java:1157)
         at
 com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:
 43)
         at org.mortbay.jetty.servlet.ServletHandler
 $CachedChain.doFilter(ServletHandler.java:1157)
         at
 com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:
 122)
         at org.mortbay.jetty.servlet.ServletHandler
 $CachedChain.doFilter(ServletHandler.java:1157)
         at
 org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
 388)
         at
 org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
 216)
         at
 org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
 182)
         at
 org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
 765)
         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
 418)
         at
 com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:
 70)
         at
 org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
 152)
         at com.google.appengine.tools.development.JettyContainerService
 $ApiProxyHandler.handle(JettyContainerService.java:349)
         at
 org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
 152)
         at org.mortbay.jetty.Server.handle(Server.java:326)
         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
 542)
         at org.mortbay.jetty.HttpConnection
 $RequestHandler.headerComplete(HttpConnection.java:923)
         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
         at
 org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
 409)
         at org.mortbay.thread.QueuedThreadPool
 $PoolThread.run(QueuedThreadPool.java:582)
 Caused by: java.security.AccessControlException: access denied
 (java.io.FilePermission PATH TO MY PROJECT'S SRC DIRECTORY read)
         at
 java.security.AccessControlContext.checkPermission(AccessControlContext.java:
 323)
         at
 

Re: XSL Transformation, AccessControlException, NoClassDefFoundError and SyntheticRepository

2010-07-21 Thread cokol
as already states by cause Caused by:
java.security.AccessControlException: access denied 
you are not allowed to access the filesystem neither for read nor for
write - I remember there was a workaround for this issue, like putting
the resource into classpath or such, then you can get the stream via
getResourceAsStream(foo.xslt) from the classloader.

this should be stated in appengine faq

good luck,

On 21 Jul., 20:23, lineman78 linema...@gmail.com wrote:
 From what I can tell it is failing while compiling the stylesheet.  I
 would suggest taking app engine out of the loop altogether first and
 just so it in a static main to make sure it is compiling.  If it works
 as a static main than it is probably the file IO.  To test this I
 recommend to try just reading the file to the log to make sure that
 you actually have a hold of the file.  I have found that the most
 reliable way to read in a file is not to use the File constructor, but
 assuming the name of your class is XsltService:

 XsltService.class.getResourceAsStream(test.xsl); // Assuming
 test.xsl is in the same folder as the class file, set to /test.xsl
 if it is in the root.

 On Jul 21, 6:42 am, Jan jan.morl...@googlemail.com wrote:



  Hi,

  I would like to use an xsl transformation inside an HttpServlet. The
  code is essentially the following:

  File xslfile = new File(test.xsl);
  TransformerFactory factory = TransformerFactory.newInstance();
  factory.setAttribute( debug, true );
  Transformer transformer = factory.newTransformer(new
  StreamSource( xslfile ) );

  I already made sure that the xsl file is valid and I defined it as
  resource-file inside appengine-web.xml

  If I now call the servlet the first time, the following error occurs:

  java.lang.ExceptionInInitializerError
          at
  com.sun.org.apache.bcel.internal.classfile.JavaClass.init(JavaClass.java:
  109)
          at
  com.sun.org.apache.bcel.internal.classfile.JavaClass.init(JavaClass.java:
  228)
          at
  com.sun.org.apache.bcel.internal.generic.ClassGen.getJavaClass(ClassGen.jav 
  a:
  174)
          at
  com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.translate(Style 
  sheet.java:
  735)
          at
  com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:
  354)
          at
  com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:
  429)
          at
  com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemp 
  lates(TransformerFactoryImpl.java:
  795)
          at
  com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTran 
  sformer(TransformerFactoryImpl.java:
  617)
          at com.axag.invoiceedit.server.MY SERVLET.doGet(MY SERVLET:240)
          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:
  511)
          at org.mortbay.jetty.servlet.ServletHandler
  $CachedChain.doFilter(ServletHandler.java:1166)
          at
  com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFi 
  lter.java:
  51)
          at org.mortbay.jetty.servlet.ServletHandler
  $CachedChain.doFilter(ServletHandler.java:1157)
          at
  com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans 
  actionCleanupFilter.java:
  43)
          at org.mortbay.jetty.servlet.ServletHandler
  $CachedChain.doFilter(ServletHandler.java:1157)
          at
  com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFile 
  Filter.java:
  122)
          at org.mortbay.jetty.servlet.ServletHandler
  $CachedChain.doFilter(ServletHandler.java:1157)
          at
  org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
  388)
          at
  org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
  216)
          at
  org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
  182)
          at
  org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
  765)
          at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
  418)
          at
  com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEn 
  gineWebAppContext.java:
  70)
          at
  org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
  152)
          at com.google.appengine.tools.development.JettyContainerService
  $ApiProxyHandler.handle(JettyContainerService.java:349)
          at
  org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
  152)
          at org.mortbay.jetty.Server.handle(Server.java:326)
          at 
  org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
  542)
          at org.mortbay.jetty.HttpConnection
  $RequestHandler.headerComplete(HttpConnection.java:923)
          at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
          at 

Re: XSL Transformation, AccessControlException, NoClassDefFoundError and SyntheticRepository

2010-07-21 Thread emurmur
This seems very similar to issue 4267.  The issue is the GWT is
setting a system property, overriding the default transformer
factory.  This causes the appengine server to get the wrong
transformer factory.  The exception you are getting is not exactly the
same as the bug, but the circumstances are very similary.  A
workaround is, in your servlet, set the system property yourself to
the java default.  This should fix the server (although it might cause
an issue in the GWT client, if you are using XML).  Note that this is
only an issue in the development server and not in production.

Here is the issue: 
http://code.google.com/p/google-web-toolkit/issues/detail?id=4267
Please go and check this issue so it get's some attention.

Here is the line of code to set the property on the server to work
around the GWT bug:

//
// When using GWT with appengine, we must override
the
// default TransformerFactory because GWT writes an
invalid
// default that causes an exception when trying to
// render a XML Representation.  This works around the
bug.
//
 
System.setProperty(javax.xml.transform.TransformerFactory,
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl);


On Jul 21, 5:42 am, Jan jan.morl...@googlemail.com wrote:
 Hi,

 I would like to use an xsl transformation inside an HttpServlet. The
 code is essentially the following:

 File xslfile = new File(test.xsl);
 TransformerFactory factory = TransformerFactory.newInstance();
 factory.setAttribute( debug, true );
 Transformer transformer = factory.newTransformer(new
 StreamSource( xslfile ) );

 I already made sure that the xsl file is valid and I defined it as
 resource-file inside appengine-web.xml

 If I now call the servlet the first time, the following error occurs:

 java.lang.ExceptionInInitializerError
         at
 com.sun.org.apache.bcel.internal.classfile.JavaClass.init(JavaClass.java:
 109)
         at
 com.sun.org.apache.bcel.internal.classfile.JavaClass.init(JavaClass.java:
 228)
         at
 com.sun.org.apache.bcel.internal.generic.ClassGen.getJavaClass(ClassGen.jav a:
 174)
         at
 com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.translate(Style 
 sheet.java:
 735)
         at
 com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:
 354)
         at
 com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:
 429)
         at
 com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemp 
 lates(TransformerFactoryImpl.java:
 795)
         at
 com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTran 
 sformer(TransformerFactoryImpl.java:
 617)
         at com.axag.invoiceedit.server.MY SERVLET.doGet(MY SERVLET:240)
         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:
 511)
         at org.mortbay.jetty.servlet.ServletHandler
 $CachedChain.doFilter(ServletHandler.java:1166)
         at
 com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFi 
 lter.java:
 51)
         at org.mortbay.jetty.servlet.ServletHandler
 $CachedChain.doFilter(ServletHandler.java:1157)
         at
 com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans 
 actionCleanupFilter.java:
 43)
         at org.mortbay.jetty.servlet.ServletHandler
 $CachedChain.doFilter(ServletHandler.java:1157)
         at
 com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFile 
 Filter.java:
 122)
         at org.mortbay.jetty.servlet.ServletHandler
 $CachedChain.doFilter(ServletHandler.java:1157)
         at
 org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
 388)
         at
 org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
 216)
         at
 org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
 182)
         at
 org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
 765)
         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
 418)
         at
 com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEn 
 gineWebAppContext.java:
 70)
         at
 org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
 152)
         at com.google.appengine.tools.development.JettyContainerService
 $ApiProxyHandler.handle(JettyContainerService.java:349)
         at
 org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
 152)
         at org.mortbay.jetty.Server.handle(Server.java:326)
         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
 542)
         at org.mortbay.jetty.HttpConnection
 $RequestHandler.headerComplete(HttpConnection.java:923)
         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
         at 

Re: NoClassDefFoundError in service after clicking a button

2010-06-26 Thread Ruben van Loen
Thanks! That worked

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



NoClassDefFoundError in service after clicking a button

2010-06-25 Thread Ruben
Hi,

I am running in a NoClassDeffFoundError after clicking a button in my
very basic app. I modified the standard app in Eclipse just a little
bit by adding 1 service method:

1. Created a new GWT project in Eclipse. This gets me the standard
Greeting Service example app - app works
2. I created a User class, which is just a POJO - app works
3. Added a HibernateUtil class for access to Hibernate - app works
4. Added Hibernate JAR to the build path in Eclipse - app works
5. Modified the GreetingServiceImpl by importing
org.hibernate.session, HibernateUtil and User - app works
5. Added the following getUser method to the GreetingServiceImpl - app
breaks!

// Retrieves a user from Hibernate
public User getUser(int userId){
  Session session =
HibernateUtil.getSessionFactory().getCurrentSession();
  session.beginTransaction();
  // Get the User from Hibernate
  User user = (User) session.get(User.class, userId);
  // TODO Translate user to a serializable data transfer object before
returning
  return new User();
}

Whenever I press the Send button in the Greeting Service app I get the
following stacktrace in the Eclipse console:

WARNING: Error for /test/greet
java.lang.NoClassDefFoundError: org/hibernate/Session
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)


Do  you know why this happens? The getUser() method that seems to be
responsible is not even called. And I imported the
org.hibernate.Session class and it's on the Eclipse build bath.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: NoClassDefFoundError in service after clicking a button

2010-06-25 Thread Sripathi Krishnan
Disable Google App Engine in your eclipse settings, and remove all GAE jars
from your classpath.

GAE doesn't allow you to open socket connections, which is exactly what
hibernate is trying to do before it fails.

--Sri


On 26 June 2010 01:15, Ruben ruben...@gmail.com wrote:

 Hi,

 I am running in a NoClassDeffFoundError after clicking a button in my
 very basic app. I modified the standard app in Eclipse just a little
 bit by adding 1 service method:

 1. Created a new GWT project in Eclipse. This gets me the standard
 Greeting Service example app - app works
 2. I created a User class, which is just a POJO - app works
 3. Added a HibernateUtil class for access to Hibernate - app works
 4. Added Hibernate JAR to the build path in Eclipse - app works
 5. Modified the GreetingServiceImpl by importing
 org.hibernate.session, HibernateUtil and User - app works
 5. Added the following getUser method to the GreetingServiceImpl - app
 breaks!

 // Retrieves a user from Hibernate
 public User getUser(int userId){
  Session session =
 HibernateUtil.getSessionFactory().getCurrentSession();
  session.beginTransaction();
  // Get the User from Hibernate
  User user = (User) session.get(User.class, userId);
  // TODO Translate user to a serializable data transfer object before
 returning
  return new User();
 }

 Whenever I press the Send button in the Greeting Service app I get the
 following stacktrace in the Eclipse console:

 WARNING: Error for /test/greet
 java.lang.NoClassDefFoundError: org/hibernate/Session
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)


 Do  you know why this happens? The getUser() method that seems to be
 responsible is not even called. And I imported the
 org.hibernate.Session class and it's on the Eclipse build bath.


 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: FileUpload help! NoClassDefFoundError org.apache.commons.fileupload.disk.DiskFileItem

2010-04-29 Thread Manuel Carrasco Moñino
The message is clear, you don't have commons-fileupload-1.2.jar in
your classpath.

-Manolo



On Tue, Apr 27, 2010 at 5:58 PM, DeliveryNinja noble1...@googlemail.com wrote:
 I've recently been building some blogging software just to brush up on
 my skills and I wanted to add file upload to new posts.

 I created a servlet which will get the post request from the file
 upload box.

 What happens then is I get the following stack trace

 java.lang.NoClassDefFoundError: Could not initialize class
 org.apache.commons.fileupload.disk.DiskFileItem
        at
 org.apache.commons.fileupload.disk.DiskFileItemFactory.createItem(DiskFileItemFactory.java:
 196)
        at
 org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:
 358)
        at
 org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:
 126)
        at blogger.server.FileUpload.getFileItem(FileUpload.java:77)

 I have not edited any xml files and I'm using commons-
 fileupload-1.2.1.jar and commons-io-1.4.jar but i'm only using them in
 a class called FileUpload in the server package of my GWT application.


 --
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



FileUpload help! NoClassDefFoundError org.apache.commons.fileupload.disk.DiskFileItem

2010-04-28 Thread DeliveryNinja
I've recently been building some blogging software just to brush up on
my skills and I wanted to add file upload to new posts.

I created a servlet which will get the post request from the file
upload box.

What happens then is I get the following stack trace

java.lang.NoClassDefFoundError: Could not initialize class
org.apache.commons.fileupload.disk.DiskFileItem
at
org.apache.commons.fileupload.disk.DiskFileItemFactory.createItem(DiskFileItemFactory.java:
196)
at
org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:
358)
at
org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:
126)
at blogger.server.FileUpload.getFileItem(FileUpload.java:77)

I have not edited any xml files and I'm using commons-
fileupload-1.2.1.jar and commons-io-1.4.jar but i'm only using them in
a class called FileUpload in the server package of my GWT application.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: FileUpload help! NoClassDefFoundError org.apache.commons.fileupload.disk.DiskFileItem

2010-04-28 Thread Sripathi Krishnan
Do you have Google App Engine enabled? If so, please disable it in your
project preferences. GAE does not allow you to write to the disk or open
socket connections.


--Sri



On 27 April 2010 21:28, DeliveryNinja noble1...@googlemail.com wrote:

 I've recently been building some blogging software just to brush up on
 my skills and I wanted to add file upload to new posts.

 I created a servlet which will get the post request from the file
 upload box.

 What happens then is I get the following stack trace

 java.lang.NoClassDefFoundError: Could not initialize class
 org.apache.commons.fileupload.disk.DiskFileItem
at

 org.apache.commons.fileupload.disk.DiskFileItemFactory.createItem(DiskFileItemFactory.java:
 196)
at

 org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:
 358)
at

 org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:
 126)
at blogger.server.FileUpload.getFileItem(FileUpload.java:77)

 I have not edited any xml files and I'm using commons-
 fileupload-1.2.1.jar and commons-io-1.4.jar but i'm only using them in
 a class called FileUpload in the server package of my GWT application.


 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT Compiling throwing a NoClassDefFoundError with Maven?

2010-04-20 Thread Chris
Anyone?

On Apr 18, 9:36 pm, Chris christopher.burr...@gmail.com wrote:
 Not sure if it's any help, but on debug level, I get the following
 when it retries the permutation...

 [INFO]       Worker died, will retry Permutation
 [INFO] com.google.gwt.dev.TransientWorkerException: Remote process did
 not connect within timeout period
 [INFO]  at com.google.gwt.dev.ExternalPermutationWorkerFactory
 $ExternalPermutationWorker.compile(ExternalPermutationWorkerFactory.java:
 135)
 [INFO]  at com.google.gwt.dev.PermutationWorkerFactory$Manager
 $WorkerThread.run(PermutationWorkerFactory.java:70)
 [INFO]  at java.lang.Thread.run(Thread.java:619)
 [INFO] Caused by: java.net.SocketTimeoutException: Accept timed out
 [INFO]  at java.net.PlainSocketImpl.socketAccept(Native Method)
 [INFO]  at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
 [INFO]  at java.net.ServerSocket.implAccept(ServerSocket.java:453)
 [INFO]  at java.net.ServerSocket.accept(ServerSocket.java:421)
 [INFO]  at com.google.gwt.dev.ExternalPermutationWorkerFactory
 $CountedServerSocket.accept(ExternalPermutationWorkerFactory.java:79)
 [INFO]  at com.google.gwt.dev.ExternalPermutationWorkerFactory
 $ExternalPermutationWorker.compile(ExternalPermutationWorkerFactory.java:
 115)
 [INFO]  ... 2 more
 [INFO]       Compiling permutation 1...
 [INFO]       Creating split point map file for the compile report
 [INFO]          Done
 [INFO]       Permutation took 5031 ms
 [INFO]       Successfully compiled permutation
 [INFO]    Compile of permutations succeeded
 [INFO

 On Apr 18, 9:08 pm, Chris christopher.burr...@gmail.com wrote:





  Hello

  Any ideas about this? As you can see after the message Process Output,
  I get a [ERROR] NoClassDefFoundError? Any ideas? I'm a bit confused...

  I'm came about a similar thing earlier in another library compiling,
  although that had been due to the fact it didn't like the space in
  Document and settings and that was passed to a URL object, but as you
  can see below, it's got a %20 so I guess that should be fine?

  I'd quite like to find out how to find out what the problem is, as
  it's not particularly useful there at the moment!
  Any ideas?
  Chris

  [INFO]    Scanning for additional dependencies: jar:file:/C:/Documents
  %20and%20Settings/CJBurrell/.m2/repository/net/customware/gwt/dispatch/
  gwt-dispatch/1.0.0/
  gwt-dispatch-1.0.0.jar!/net/customware/gwt/dispatch/client/
  DefaultDispatchAsync.java
  [INFO]       Adding '83' new generated units
  [INFO]          Validating newly compiled units
  [INFO]             [WARN] Warnings in 'D:\temp\release_final_test\step-
  web-app\target\.generated\net\customware\gwt\dispatch\client\service
  \DispatchService_Type
  Serializer.java'
  [INFO]                [WARN] Line 48: Referencing deprecated class
  'com.google.gwt.user.client.rpc.SerializableException'
  [INFO]    Compiling 6 permutations
  [INFO]       Compiling permutation 0...
  [INFO]       Process output
  [INFO]          [ERROR] java.lang.NoClassDefFoundError: and
  [INFO]          [ERROR] Caused by: java.lang.ClassNotFoundException:
  and
  [INFO]          [ERROR]         at java.net.URLClassLoader
  $1.run(URLClassLoader.java:200)
  [INFO]          [ERROR]         at
  java.security.AccessController.doPrivileged(Native Method)
  [INFO]          [ERROR]         at
  java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  [INFO]          [ERROR]         at
  java.lang.ClassLoader.loadClass(ClassLoader.java:307)
  [INFO]          [ERROR]         at sun.misc.Launcher
  $AppClassLoader.loadClass(Launcher.java:301)
  [INFO]          [ERROR]         at
  java.lang.ClassLoader.loadClass(ClassLoader.java:252)
  [INFO]          [ERROR]         at
  java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
  [INFO]          [ERROR] Could not find the main class: and.  Program
  will exit.
  [INFO]          [ERROR] Exception in thread main
  [INFO]       Compiling permutation 2...
  [INFO]       Compiling permutation 3...
  [INFO]       Compiling permutation 4...
  [INFO]       Compiling permutation 5...
  [INFO]       Compiling permutation 1...
  [INFO]    Compile of permutations succeeded
  [INFO] Linking into D:\temp\release_final_test\step-web-app\war\step.
  Writing extras to D:\temp\release_final_test\step-web-app\target\extra
  \step
  [INFO]    Link succeeded
  [INFO]    Compilation succeeded -- 126.828s

  --
  You received this message because you are subscribed to the Google Groups 
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to 
  google-web-toolkit+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/google-web-toolkit?hl=en.

 --
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe

GWT Compiling throwing a NoClassDefFoundError with Maven?

2010-04-18 Thread Chris
Hello

Any ideas about this? As you can see after the message Process Output,
I get a [ERROR] NoClassDefFoundError? Any ideas? I'm a bit confused...

I'm came about a similar thing earlier in another library compiling,
although that had been due to the fact it didn't like the space in
Document and settings and that was passed to a URL object, but as you
can see below, it's got a %20 so I guess that should be fine?

I'd quite like to find out how to find out what the problem is, as
it's not particularly useful there at the moment!
Any ideas?
Chris

[INFO]Scanning for additional dependencies: jar:file:/C:/Documents
%20and%20Settings/CJBurrell/.m2/repository/net/customware/gwt/dispatch/
gwt-dispatch/1.0.0/
gwt-dispatch-1.0.0.jar!/net/customware/gwt/dispatch/client/
DefaultDispatchAsync.java
[INFO]   Adding '83' new generated units
[INFO]  Validating newly compiled units
[INFO] [WARN] Warnings in 'D:\temp\release_final_test\step-
web-app\target\.generated\net\customware\gwt\dispatch\client\service
\DispatchService_Type
Serializer.java'
[INFO][WARN] Line 48: Referencing deprecated class
'com.google.gwt.user.client.rpc.SerializableException'
[INFO]Compiling 6 permutations
[INFO]   Compiling permutation 0...
[INFO]   Process output
[INFO]  [ERROR] java.lang.NoClassDefFoundError: and
[INFO]  [ERROR] Caused by: java.lang.ClassNotFoundException:
and
[INFO]  [ERROR] at java.net.URLClassLoader
$1.run(URLClassLoader.java:200)
[INFO]  [ERROR] at
java.security.AccessController.doPrivileged(Native Method)
[INFO]  [ERROR] at
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[INFO]  [ERROR] at
java.lang.ClassLoader.loadClass(ClassLoader.java:307)
[INFO]  [ERROR] at sun.misc.Launcher
$AppClassLoader.loadClass(Launcher.java:301)
[INFO]  [ERROR] at
java.lang.ClassLoader.loadClass(ClassLoader.java:252)
[INFO]  [ERROR] at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
[INFO]  [ERROR] Could not find the main class: and.  Program
will exit.
[INFO]  [ERROR] Exception in thread main
[INFO]   Compiling permutation 2...
[INFO]   Compiling permutation 3...
[INFO]   Compiling permutation 4...
[INFO]   Compiling permutation 5...
[INFO]   Compiling permutation 1...
[INFO]Compile of permutations succeeded
[INFO] Linking into D:\temp\release_final_test\step-web-app\war\step.
Writing extras to D:\temp\release_final_test\step-web-app\target\extra
\step
[INFO]Link succeeded
[INFO]Compilation succeeded -- 126.828s

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT Compiling throwing a NoClassDefFoundError with Maven?

2010-04-18 Thread Chris
Not sure if it's any help, but on debug level, I get the following
when it retries the permutation...


[INFO]   Worker died, will retry Permutation
[INFO] com.google.gwt.dev.TransientWorkerException: Remote process did
not connect within timeout period
[INFO]  at com.google.gwt.dev.ExternalPermutationWorkerFactory
$ExternalPermutationWorker.compile(ExternalPermutationWorkerFactory.java:
135)
[INFO]  at com.google.gwt.dev.PermutationWorkerFactory$Manager
$WorkerThread.run(PermutationWorkerFactory.java:70)
[INFO]  at java.lang.Thread.run(Thread.java:619)
[INFO] Caused by: java.net.SocketTimeoutException: Accept timed out
[INFO]  at java.net.PlainSocketImpl.socketAccept(Native Method)
[INFO]  at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
[INFO]  at java.net.ServerSocket.implAccept(ServerSocket.java:453)
[INFO]  at java.net.ServerSocket.accept(ServerSocket.java:421)
[INFO]  at com.google.gwt.dev.ExternalPermutationWorkerFactory
$CountedServerSocket.accept(ExternalPermutationWorkerFactory.java:79)
[INFO]  at com.google.gwt.dev.ExternalPermutationWorkerFactory
$ExternalPermutationWorker.compile(ExternalPermutationWorkerFactory.java:
115)
[INFO]  ... 2 more
[INFO]   Compiling permutation 1...
[INFO]   Creating split point map file for the compile report
[INFO]  Done
[INFO]   Permutation took 5031 ms
[INFO]   Successfully compiled permutation
[INFO]Compile of permutations succeeded
[INFO

On Apr 18, 9:08 pm, Chris christopher.burr...@gmail.com wrote:
 Hello

 Any ideas about this? As you can see after the message Process Output,
 I get a [ERROR] NoClassDefFoundError? Any ideas? I'm a bit confused...

 I'm came about a similar thing earlier in another library compiling,
 although that had been due to the fact it didn't like the space in
 Document and settings and that was passed to a URL object, but as you
 can see below, it's got a %20 so I guess that should be fine?

 I'd quite like to find out how to find out what the problem is, as
 it's not particularly useful there at the moment!
 Any ideas?
 Chris

 [INFO]    Scanning for additional dependencies: jar:file:/C:/Documents
 %20and%20Settings/CJBurrell/.m2/repository/net/customware/gwt/dispatch/
 gwt-dispatch/1.0.0/
 gwt-dispatch-1.0.0.jar!/net/customware/gwt/dispatch/client/
 DefaultDispatchAsync.java
 [INFO]       Adding '83' new generated units
 [INFO]          Validating newly compiled units
 [INFO]             [WARN] Warnings in 'D:\temp\release_final_test\step-
 web-app\target\.generated\net\customware\gwt\dispatch\client\service
 \DispatchService_Type
 Serializer.java'
 [INFO]                [WARN] Line 48: Referencing deprecated class
 'com.google.gwt.user.client.rpc.SerializableException'
 [INFO]    Compiling 6 permutations
 [INFO]       Compiling permutation 0...
 [INFO]       Process output
 [INFO]          [ERROR] java.lang.NoClassDefFoundError: and
 [INFO]          [ERROR] Caused by: java.lang.ClassNotFoundException:
 and
 [INFO]          [ERROR]         at java.net.URLClassLoader
 $1.run(URLClassLoader.java:200)
 [INFO]          [ERROR]         at
 java.security.AccessController.doPrivileged(Native Method)
 [INFO]          [ERROR]         at
 java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 [INFO]          [ERROR]         at
 java.lang.ClassLoader.loadClass(ClassLoader.java:307)
 [INFO]          [ERROR]         at sun.misc.Launcher
 $AppClassLoader.loadClass(Launcher.java:301)
 [INFO]          [ERROR]         at
 java.lang.ClassLoader.loadClass(ClassLoader.java:252)
 [INFO]          [ERROR]         at
 java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
 [INFO]          [ERROR] Could not find the main class: and.  Program
 will exit.
 [INFO]          [ERROR] Exception in thread main
 [INFO]       Compiling permutation 2...
 [INFO]       Compiling permutation 3...
 [INFO]       Compiling permutation 4...
 [INFO]       Compiling permutation 5...
 [INFO]       Compiling permutation 1...
 [INFO]    Compile of permutations succeeded
 [INFO] Linking into D:\temp\release_final_test\step-web-app\war\step.
 Writing extras to D:\temp\release_final_test\step-web-app\target\extra
 \step
 [INFO]    Link succeeded
 [INFO]    Compilation succeeded -- 126.828s

 --
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Apache HttpClient throwing NoClassDefFoundError exceptions

2010-03-22 Thread Jon Britton
Hi,

I'm trying to build a server for forwarding HTTP Get requests from my
GWT client to remote servers. I'm trying to use the Apache HttpClient
stuff which is in gwt-dev.jar.  However, when I call my servlet I get

com.google.gwt.user.server.rpc.UnexpectedException: Service method
'public abstract uk.ac.glam.wps.gwtwps.client.ProcessDescriptor[]
uk.ac.glam.wps.gwtwps.client.OWSRequestService.wpsGetCapabilities(java.lang.String)'
threw an unexpected exception: java.lang.NoClassDefFoundError: org/
apache/commons/httpclient/HttpClient

I've found other posts reporting this issue, but can't seem to find a
solution.  I tried downloading HttpClient from 
http://hc.apache.org/downloads.cgi
and adding it to my build path and also putting it in WEB-INF/lib but
I still get the same errors!

How can I get HttpClient working?

Cheers,

Jon

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Apache HttpClient throwing NoClassDefFoundError exceptions

2010-03-22 Thread Sripathi Krishnan
Unselect Google App Engine from the eclipse preferences to get it working.
You cannot use HttpClient with Google App Engine.

--Sri
http://blog.530geeks.com


On 22 March 2010 21:05, Jon Britton mankillseveryth...@googlemail.comwrote:

 Hi,

 I'm trying to build a server for forwarding HTTP Get requests from my
 GWT client to remote servers. I'm trying to use the Apache HttpClient
 stuff which is in gwt-dev.jar.  However, when I call my servlet I get

 com.google.gwt.user.server.rpc.UnexpectedException: Service method
 'public abstract uk.ac.glam.wps.gwtwps.client.ProcessDescriptor[]

 uk.ac.glam.wps.gwtwps.client.OWSRequestService.wpsGetCapabilities(java.lang.String)'
 threw an unexpected exception: java.lang.NoClassDefFoundError: org/
 apache/commons/httpclient/HttpClient

 I've found other posts reporting this issue, but can't seem to find a
 solution.  I tried downloading HttpClient from
 http://hc.apache.org/downloads.cgi
 and adding it to my build path and also putting it in WEB-INF/lib but
 I still get the same errors!

 How can I get HttpClient working?

 Cheers,

 Jon

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Eclipse GWT NoClassDefFoundError

2009-09-01 Thread Jack Terranova
Thanks Jason!  That sounds like a reasonable workaround.

On Mon, Aug 31, 2009 at 10:50 AM, Jason Parekh jasonpar...@gmail.comwrote:

 Hi Jack,
 This is a known issue.

 For jars referenced by your dependent projects, the typical workaround is
 what you've described.

 For the source in your dependent projects, you could add linked source
 resources in your main project pointing to the dependent projects' source
 directories.

 jason


 On Sun, Aug 30, 2009 at 12:19 AM, jack jack.terran...@gmail.com wrote:


 I have a simple GWT project in Eclipse that requires another external
 project.  Everything builds fine.  But when I launch as a Google Web
 App using the App Engine I get a server-side NoClassDefFound for
 classes located in the external project.

 I've played around with the launch config and can't get around this.
 Under the classpath tab when I select the external project, Eclipse
 also chooses the project's dependent jars, but when I run the GWT
 project apparently Eclipse is not making these jars available to the
 App Engine.

 I can jar up the external project and cram it into WEB-INF/lib of my
 GWT project - the error goes away then.  But this requires me to
 gather up every jar that the external project relies on and place it
 under WEB-INF/lib.  I imagine Eclipse should be doing this for me
 through the launch configuration.

 Thanks in advance



 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Eclipse GWT NoClassDefFoundError

2009-08-31 Thread Jason Parekh
Hi Jack,
This is a known issue.

For jars referenced by your dependent projects, the typical workaround is
what you've described.

For the source in your dependent projects, you could add linked source
resources in your main project pointing to the dependent projects' source
directories.

jason

On Sun, Aug 30, 2009 at 12:19 AM, jack jack.terran...@gmail.com wrote:


 I have a simple GWT project in Eclipse that requires another external
 project.  Everything builds fine.  But when I launch as a Google Web
 App using the App Engine I get a server-side NoClassDefFound for
 classes located in the external project.

 I've played around with the launch config and can't get around this.
 Under the classpath tab when I select the external project, Eclipse
 also chooses the project's dependent jars, but when I run the GWT
 project apparently Eclipse is not making these jars available to the
 App Engine.

 I can jar up the external project and cram it into WEB-INF/lib of my
 GWT project - the error goes away then.  But this requires me to
 gather up every jar that the external project relies on and place it
 under WEB-INF/lib.  I imagine Eclipse should be doing this for me
 through the launch configuration.

 Thanks in advance
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Eclipse GWT NoClassDefFoundError

2009-08-29 Thread jack

I have a simple GWT project in Eclipse that requires another external
project.  Everything builds fine.  But when I launch as a Google Web
App using the App Engine I get a server-side NoClassDefFound for
classes located in the external project.

I've played around with the launch config and can't get around this.
Under the classpath tab when I select the external project, Eclipse
also chooses the project's dependent jars, but when I run the GWT
project apparently Eclipse is not making these jars available to the
App Engine.

I can jar up the external project and cram it into WEB-INF/lib of my
GWT project - the error goes away then.  But this requires me to
gather up every jar that the external project relies on and place it
under WEB-INF/lib.  I imagine Eclipse should be doing this for me
through the launch configuration.

Thanks in advance
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: RemoteServiceServlet throws NoClassDefFoundError on Tomcat6

2009-08-19 Thread Igor

Just for the record, I've found a workaround: downgrading Tomcat to
version 6.0.18 made the problem go away.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



RemoteServiceServlet throws NoClassDefFoundError on Tomcat6

2009-08-12 Thread Igor

Hi,

I'm deploying a GWT (1.7) application on Tomcat (6.0.20-5). The
problem is that when the RPC call is made an NoClassDefFoundError
exception is thrown:

java.lang.NoClassDefFoundError: com/google/gwt/user/server/rpc/
RPCServletUtils
  at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doUnexpectedFailure
(RemoteServiceServlet.java:285)
  at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost
(RemoteServiceServlet.java:99)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  ...supressed...

The gwt-servlet.jar is present inside WEB-INF/lib otherwise
RemoteServiceServlet wouldn't be found. Enabling Tomcat's remote debug
and following the execution, the exception is thrown at
RemoteServiceServlet.java:343.

341  protected String readContent(HttpServletRequest request)
342  throws ServletException, IOException {
343return RPCServletUtils.readContentAsUtf8(request, true);
344  }

The class RPCServletUtils has a private constructor and only static
methods. Is there a chance that Tomcat's class loader is getting
confused with that?

Using the hosted mode's server it runs just fine.

Any ideas?

Regards,
Igor.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Google Calendar API: NoClassDefFoundError AuthenticationException

2009-07-31 Thread JesperA

The solution was to put all the gdata**.jar files into the war/WEB-INF/
lib directory in my Eclipse GWT project.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Google Calendar API: NoClassDefFoundError AuthenticationException

2009-07-29 Thread JesperA

Hi!
I'm trying to get feed data from the Google Calendar API.
To the Eclipse project I have added the following libs (Java Build
Path)
gdata-calendar-2.0.jar
gdata-calendar-meta-2.0.jar
gdata-client-1.0.jar
gdata-client-meta-1.0.jar
gdata-core-1.0.jar
google-collect-1.0-rc1.jar
Google Data Plugin
GWT 1.7.0
App Engine 1.2.2

Code:
==
...
...
// Create a new Calendar service
myService = new CalendarService(My Application);
myService.setUserCredentials(sUserName, sPassword);
URL feedUrl = null;
try {
feedUrl = new URL(

http://www.google.com/calendar/feeds/default/allcalendars/
full);
} catch (MalformedURLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
CalendarFeed resultFeed = null;
try {
resultFeed = myService.getFeed(feedUrl,
CalendarFeed.class);
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (ServiceException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

for (int i = 0; i  resultFeed.getEntries().size(); i++) {
CalendarEntry entry = resultFeed.getEntries().get(i);
if (entry.getTitle().getPlainText().startsWith
(sCalendarStartsWith)) {
System.out.println(\t + 
entry.getTitle().getPlainText());

ListLink links = entry.getLinks();
for (Link link : links) {
System.out.println(\t + 
link.getRel());
System.out.println(\t + 
link.getHref());
}
setCalendarUrl(links.get(0).getHref());
}
}

...

Error:
==
The server is running at http://localhost:8080/
29-Jul-2009 14:12:35 com.google.apphosting.utils.jetty.JettyLogger
warn
WARNING: Nested in javax.servlet.ServletException: init:
java.lang.NoClassDefFoundError: com/google/gdata/util/
AuthenticationException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)
at org.mortbay.jetty.servlet.ServletHolder.getServlet
(ServletHolder.java:339)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
463)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1093)
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:124)
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:54)
at org.mortbay.jetty.handler.HandlerWrapper.handle
(HandlerWrapper.java:139)
at com.google.appengine.tools.development.JettyContainerService
$ApiProxyHandler.handle(JettyContainerService.java:313)
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.content
(HttpConnection.java:844)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
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

Re: Google Calendar API: NoClassDefFoundError AuthenticationException

2009-07-29 Thread JesperA

Forgot to say...
Using the same code in a general Java application works perfect.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Google Calendar API: NoClassDefFoundError AuthenticationException

2009-07-29 Thread JesperA

After some debugging i found where the Exception is thrown:
   com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(Object,
Method, Object[], SerializationPolicy)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Start GWT with Eclipse : NoClassDefFoundError

2009-07-16 Thread braverju

Please, help. I have biult a GWT project using Eclipse on my old
computer (Mac). Now, I want to open and run it on my new PC. I tried
to do it with Eclipse Galileo (3.5) - no success. Then, I thought it
might be easier with Eclipse Ganymed (3.4). I copied all gwt libraries
for windows. But I keep getting the same error: NoClassDefFoundError .
It looks like the compiler is looking for the Main method, but what I
have, of cause is EntryPoint method. I believe, something is wrong
with my Project configurations, but I don't know, how to fix it.
I tried to follow the instructions on 
http://code.google.com/webtoolkit/gettingstarted.html
to install gwt-plugin, but keep getting an error: No repository found
at http://download.eclipse.org/releases/ganymede.

Thank you so much!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Start GWT with Eclipse : NoClassDefFoundError

2009-07-16 Thread Alex Rudnick

Hello,

The Eclipse plugin should help make sure your class paths are set up
right to launch your PC too, but it sounds like you're having trouble
installing it?

Which program gave you the error about
http://download.eclipse.org/releases/ganymede ?

Thanks!

On Thu, Jul 16, 2009 at 9:56 AM, braverjubrave...@gmail.com wrote:

 Please, help. I have biult a GWT project using Eclipse on my old
 computer (Mac). Now, I want to open and run it on my new PC. I tried
 to do it with Eclipse Galileo (3.5) - no success. Then, I thought it
 might be easier with Eclipse Ganymed (3.4). I copied all gwt libraries
 for windows. But I keep getting the same error: NoClassDefFoundError .
 It looks like the compiler is looking for the Main method, but what I
 have, of cause is EntryPoint method. I believe, something is wrong
 with my Project configurations, but I don't know, how to fix it.
    I tried to follow the instructions on 
 http://code.google.com/webtoolkit/gettingstarted.html
 to install gwt-plugin, but keep getting an error: No repository found
 at http://download.eclipse.org/releases/ganymede.

 Thank you so much!

 




-- 
Alex Rudnick
swe, gwt, atl

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



NoClassDefFoundError: org/apache/log4j/PropertyConfigurator

2009-04-13 Thread Suren

Hi All,

I am using log4j1.2.12.jar for logging.

I was running my application perfect till some timeback.

When I try to run my application now(after a month), I am getting an
error at runtime, saying

NoClassDefFoundError: org/apache/log4j/PropertyConfigurator and Java
Servlet exception

in the line of code where I give PropertyConfigurator.configure
(props).

I didnt get any clue out of this..

Can anyone advise me what is wrong here?

I have included the log4j.jar and logging.properties file in the path.

Thanks
Suren
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: NoClassDefFoundError

2009-03-17 Thread Luigi Iannone
Hi,

that actually helped. Turned out it was an Exception in the  
constructor of the private member that prevented its initialization,  
thus causing problem in the servlet initialization itself.
Thank you very much,

Luigi
On 17 Mar 2009, at 02:00, Vitali Lovich wrote:

 You'd have to provide more code.  It sounds like your trying to do  
 the following:

 private MyClass foo = Class.forName(MyClass.class).newInstance();

 in your RPC class.  It's quite possible that that throws an  
 exception, which means GWT can't initialize your servlet.

 My recommendation would be to put that in your constructor,  
 surrounded by try/catch blocks.  Lemme know if that helps.  If it is  
 throwing an exception, then you'll have to figure out why it's not  
 really on your class path (I'm pretty sure for the server libraries,  
 depending on how you're launching, it has to be in your WEB-INF/lib  
 directory).

 On Mon, Mar 16, 2009 at 6:54 PM, Luigi Iannone  
 iann...@cs.man.ac.uk wrote:
 Hi all,

 I have been using GWT RPC for a couple of weeks and everything  
 worked smoothly until I added a new private member to the server  
 side implementation of the remote interface.
 Such private member instantiates a class that is in a .jar which is  
 in my eclipse classpath in my run configuration and in my build path.

 Now when I launch it I get the following exception in the shell

 [WARN] StandardWrapperValve[shell]: Servlet.service() for servlet  
 shell threw exception
 java.lang.NoClassDefFoundError: null
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:164)
   at  
 com 
 .google 
 .gwt 
 .dev.shell.GWTShellServlet.tryGetOrLoadServlet(GWTShellServlet.java: 
 936)
   at  
 com 
 .google.gwt.dev.shell.GWTShellServlet.service(GWTShellServlet.java: 
 277)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at  
 org 
 .apache 
 .catalina 
 .core 
 .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 
 237)
   at  
 org 
 .apache 
 .catalina 
 .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
   at  
 org 
 .apache 
 .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 
 214)
   at  
 org 
 .apache 
 .catalina 
 .core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at  
 org 
 .apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 
 520)
   at  
 org 
 .apache 
 .catalina 
 .core.StandardContextValve.invokeInternal(StandardContextValve.java: 
 198)
   at  
 org 
 .apache 
 .catalina.core.StandardContextValve.invoke(StandardContextValve.java: 
 152)
   at  
 org 
 .apache 
 .catalina 
 .core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at  
 org 
 .apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 
 520)
   at  
 org 
 .apache 
 .catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
   at  
 org 
 .apache 
 .catalina 
 .core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at  
 org 
 .apache 
 .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
   at  
 org 
 .apache 
 .catalina 
 .core.StandardValveContext.invokeNext(StandardValveContext.java:102)
   at  
 org 
 .apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 
 520)
   at  
 org 
 .apache 
 .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: 
 109)
   at  
 org 
 .apache 
 .catalina 
 .core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at  
 org 
 .apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 
 520)
   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java: 
 929)
   at  
 org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java: 
 160)
   at  
 org 
 .apache.coyote.http11.Http11Processor.process(Http11Processor.java: 
 799)
   at org.apache.coyote.http11.Http11Protocol 
 $Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
   at  
 org 
 .apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 
 577)
   at org.apache.tomcat.util.threads.ThreadPool 
 $ControlRunnable.run(ThreadPool.java:683)
   at java.lang.Thread.run(Thread.java:613)


 If I remove the field that instantiates the class above I get no  
 warnings nor exceptions.

 Can you please tell me what is wrong with what I am trying to do?

 Thanks,

 Luigi







 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



NoClassDefFoundError

2009-03-16 Thread Luigi Iannone
Hi all,

I have been using GWT RPC for a couple of weeks and everything worked  
smoothly until I added a new private member to the server side  
implementation of the remote interface.
Such private member instantiates a class that is in a .jar which is in  
my eclipse classpath in my run configuration and in my build path.

Now when I launch it I get the following exception in the shell

[WARN] StandardWrapperValve[shell]: Servlet.service() for servlet  
shell threw exception
java.lang.NoClassDefFoundError: null
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at  
com 
.google 
.gwt 
.dev.shell.GWTShellServlet.tryGetOrLoadServlet(GWTShellServlet.java:936)
at  
com.google.gwt.dev.shell.GWTShellServlet.service(GWTShellServlet.java: 
277)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at  
org 
.apache 
.catalina 
.core 
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 
237)
at  
org 
.apache 
.catalina 
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at  
org 
.apache 
.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 
214)
at  
org 
.apache 
.catalina 
.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at  
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 
520)
at  
org 
.apache 
.catalina 
.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at  
org 
.apache 
.catalina.core.StandardContextValve.invoke(StandardContextValve.java: 
152)
at  
org 
.apache 
.catalina 
.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at  
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 
520)
at  
org 
.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java: 
137)
at  
org 
.apache 
.catalina 
.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at  
org 
.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java: 
118)
at  
org 
.apache 
.catalina 
.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at  
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 
520)
at  
org 
.apache 
.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at  
org 
.apache 
.catalina 
.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at  
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 
520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java: 
929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java: 
160)
at  
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: 
799)
at org.apache.coyote.http11.Http11Protocol 
$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at  
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 
577)
at org.apache.tomcat.util.threads.ThreadPool 
$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:613)


If I remove the field that instantiates the class above I get no  
warnings nor exceptions.

Can you please tell me what is wrong with what I am trying to do?

Thanks,

Luigi




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: NoClassDefFoundError

2009-03-16 Thread Vitali Lovich
You'd have to provide more code.  It sounds like your trying to do the
following:

private MyClass foo = Class.forName(MyClass.class).newInstance();

in your RPC class.  It's quite possible that that throws an exception, which
means GWT can't initialize your servlet.

My recommendation would be to put that in your constructor, surrounded by
try/catch blocks.  Lemme know if that helps.  If it is throwing an
exception, then you'll have to figure out why it's not really on your class
path (I'm pretty sure for the server libraries, depending on how you're
launching, it has to be in your WEB-INF/lib directory).

On Mon, Mar 16, 2009 at 6:54 PM, Luigi Iannone iann...@cs.man.ac.uk wrote:

 Hi all,
 I have been using GWT RPC for a couple of weeks and everything worked
 smoothly until I added a new private member to the server side
 implementation of the remote interface.
 Such private member instantiates a class that is in a .jar which is in my
 eclipse classpath in my run configuration and in my build path.

 Now when I launch it I get the following exception in the shell

 [WARN] StandardWrapperValve[shell]: Servlet.service() for servlet shell
 threw exception
 java.lang.NoClassDefFoundError: null
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:164)
 at
 com.google.gwt.dev.shell.GWTShellServlet.tryGetOrLoadServlet(GWTShellServlet.java:936)
 at
 com.google.gwt.dev.shell.GWTShellServlet.service(GWTShellServlet.java:277)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
 at
 org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
 org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
 at
 org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
 at
 org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
 at
 org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
 at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at
 org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
 at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
 at
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
 at
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
 at
 org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
 at
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
 at java.lang.Thread.run(Thread.java:613)


 If I remove the field that instantiates the class above I get no warnings
 nor exceptions.

 Can you please tell me what is wrong with what I am trying to do?

 Thanks,

 Luigi




 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Migrating to GWT 1.6 NoClassDefFoundError: org/apache/jasper/runtime/JspSourceDependent

2009-03-11 Thread Vitali Lovich
You only need to put your server-side stuff into WEB-INF/lib and only when
you are deploying to your server (should be part of your ant script to build
your war).  Otherwise, just adding to the build path in Eclipse works great
(you don't even need jars - just add projects to your classpath).

On Tue, Mar 10, 2009 at 4:53 PM, Masto thomas.ric...@gmail.com wrote:


 Ok, i eventually managed to have everything works but i'm not happy.

 To make this work, i had to :

 - put gwt-dev.mac.jar inside my WEB-INF/lib so jetty can find the
 classes in case of a JSP. That sucks because i have an extra step
 (removing it) during my deployment to the prod server (which is what
 the new project structure was supposed to avoid)

 - generate the jar from my other projects (those my GWT-project depend
 on) and then copy them to the WEB-INF/lib which add a step before
 lunching the hosted mode. Generating all those  jars from my other
 project takes 1 minute 30 (lot of stuff to copy). So, it makes testing
 painfull.

 I'm not really sure with the new project layout where to put my JSP
 (that has nothing to do with GWT). In the war? Still in the public
 path of my GWT project (as before)? And what about some js lib (ext)?

 Cypal studio, which i used to use is totally broken with the 1.6. Even
 if it's not perfect, it's used to make my life a little bit easier. :-
 ( I wish the GWT team has some plan about providing some tools/
 plugins.


 On Mar 10, 1:14 pm, Masto thomas.ric...@gmail.com wrote:
  I tried to put the gwt-dev-mac.jar (which should not be put, but it's
  just to test). Now, i get a different error :
 
  I installed recently Safari 4 BETA (just to let you know)
 
  [...]
  [java] On Mac OS X, ensure that you have Safari 3 installed.
 
  BUILD FAILED
  /Users/thomas/Dev/Inv_WEB_v2/myV2/build.xml:206: Java returned: 1
  at org.apache.tools.ant.taskdefs.Java.execute(Java.java:107)
  at
 org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:
  288)
  at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke
  (DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:585)
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Migrating to GWT 1.6 NoClassDefFoundError: org/apache/jasper/runtime/JspSourceDependent

2009-03-11 Thread Vitali Lovich
Oh and gwt-dev-anything.jar should not go into your WEB-INF/lib.  That set
of jars is strictly for HostedMode stuff  again - just add it to your
classpath.  They are not for deployment.

As for where to put the JSPs, that's a good question.  There's little
documentation as of yet (since 1.6 still hasn't been released).  Also, I've
never tried integrating JSPs with GWT (mainly because it seems antithetical
to the whole premise of GWT.

The JS libs, if I'm not mistaken, could be put into the war/module directory
that gets created or just in the war directory itself - it's up to depending
on how you specify the path (war/module is probably easier).

On Wed, Mar 11, 2009 at 7:26 AM, Vitali Lovich vlov...@gmail.com wrote:

 You only need to put your server-side stuff into WEB-INF/lib and only when
 you are deploying to your server (should be part of your ant script to build
 your war).  Otherwise, just adding to the build path in Eclipse works great
 (you don't even need jars - just add projects to your classpath).


 On Tue, Mar 10, 2009 at 4:53 PM, Masto thomas.ric...@gmail.com wrote:


 Ok, i eventually managed to have everything works but i'm not happy.

 To make this work, i had to :

 - put gwt-dev.mac.jar inside my WEB-INF/lib so jetty can find the
 classes in case of a JSP. That sucks because i have an extra step
 (removing it) during my deployment to the prod server (which is what
 the new project structure was supposed to avoid)

 - generate the jar from my other projects (those my GWT-project depend
 on) and then copy them to the WEB-INF/lib which add a step before
 lunching the hosted mode. Generating all those  jars from my other
 project takes 1 minute 30 (lot of stuff to copy). So, it makes testing
 painfull.

 I'm not really sure with the new project layout where to put my JSP
 (that has nothing to do with GWT). In the war? Still in the public
 path of my GWT project (as before)? And what about some js lib (ext)?

 Cypal studio, which i used to use is totally broken with the 1.6. Even
 if it's not perfect, it's used to make my life a little bit easier. :-
 ( I wish the GWT team has some plan about providing some tools/
 plugins.


 On Mar 10, 1:14 pm, Masto thomas.ric...@gmail.com wrote:
  I tried to put the gwt-dev-mac.jar (which should not be put, but it's
  just to test). Now, i get a different error :
 
  I installed recently Safari 4 BETA (just to let you know)
 
  [...]
  [java] On Mac OS X, ensure that you have Safari 3 installed.
 
  BUILD FAILED
  /Users/thomas/Dev/Inv_WEB_v2/myV2/build.xml:206: Java returned: 1
  at org.apache.tools.ant.taskdefs.Java.execute(Java.java:107)
  at
 org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:
  288)
  at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke
  (DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:585)
 



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Migrating to GWT 1.6 NoClassDefFoundError: org/apache/jasper/runtime/JspSourceDependent

2009-03-11 Thread Masto

Hi Vitali, thanks for you answer,

If you look at my first post, you see that my classpath contains the
path to the build of my other project.

/Users/thomas/Dev/Inv_WEB_v2/Inv_WEB_v2/Proj_3/build
/Users/thomas/Dev/Inv_WEB_v2/Inv_WEB_v2/Proj_2/build
/Users/thomas/Dev/Inv_WEB_v2/Inv_WEB_v2/Proj_1/build

But using that, JETTY cannot comile my JSPs. It cannot find some
classes I use in my JSPs unless i put the jars in the WEB-INF/lib

Oh and gwt-dev-anything.jar should not go into your WEB-INF/lib.

I know that. But again, if i don't put this jar inside WEB-INF/lib,
The Hosted mode refuses again to compile my JSPs but this time because
it cannot find the class org/apache/jasper/runtime/JspSourceDependent
which is inside the gwt-dev-*.jar.

My JSPs are not integrated with GWT. I have one for the sign-up screen
and one for the sign-in screen. That's it. They use some classes from
my Proj_1, Proj_2 and Proj_3 (no GWT projects) and some Javascript
(prototype). That's it. They are plain old JSPs. No fancy stuff in
there. Currently, they are under my public path in my GWT project.

To reproduce the issue (or try to), create a JSP and see if it works
when you don't have the gwt-dev-*.jar inside your WEB-INF/lib. Your
JSP have to use a classe (just do import org.myCompany.myClass) from
another project to reflect my case



if i don't put all the jar files,

On Mar 11, 4:31 am, Vitali Lovich vlov...@gmail.com wrote:
 Oh and gwt-dev-anything.jar should not go into your WEB-INF/lib.  That set
 of jars is strictly for HostedMode stuff  again - just add it to your
 classpath.  They are not for deployment.

 As for where to put the JSPs, that's a good question.  There's little
 documentation as of yet (since 1.6 still hasn't been released).  Also, I've
 never tried integrating JSPs with GWT (mainly because it seems antithetical
 to the whole premise of GWT.

 The JS libs, if I'm not mistaken, could be put into the war/module directory
 that gets created or just in the war directory itself - it's up to depending
 on how you specify the path (war/module is probably easier).

 On Wed, Mar 11, 2009 at 7:26 AM, Vitali Lovich vlov...@gmail.com wrote:
  You only need to put your server-side stuff into WEB-INF/lib and only when
  you are deploying to your server (should be part of your ant script to build
  your war).  Otherwise, just adding to the build path in Eclipse works great
  (you don't even need jars - just add projects to your classpath).

  On Tue, Mar 10, 2009 at 4:53 PM, Masto thomas.ric...@gmail.com wrote:

  Ok, i eventually managed to have everything works but i'm not happy.

  To make this work, i had to :

  - put gwt-dev.mac.jar inside my WEB-INF/lib so jetty can find the
  classes in case of a JSP. That sucks because i have an extra step
  (removing it) during my deployment to the prod server (which is what
  the new project structure was supposed to avoid)

  - generate the jar from my other projects (those my GWT-project depend
  on) and then copy them to the WEB-INF/lib which add a step before
  lunching the hosted mode. Generating all those  jars from my other
  project takes 1 minute 30 (lot of stuff to copy). So, it makes testing
  painfull.

  I'm not really sure with the new project layout where to put my JSP
  (that has nothing to do with GWT). In the war? Still in the public
  path of my GWT project (as before)? And what about some js lib (ext)?

  Cypal studio, which i used to use is totally broken with the 1.6. Even
  if it's not perfect, it's used to make my life a little bit easier. :-
  ( I wish the GWT team has some plan about providing some tools/
  plugins.

  On Mar 10, 1:14 pm, Masto thomas.ric...@gmail.com wrote:
   I tried to put the gwt-dev-mac.jar (which should not be put, but it's
   just to test). Now, i get a different error :

   I installed recently Safari 4 BETA (just to let you know)

   [...]
   [java] On Mac OS X, ensure that you have Safari 3 installed.

   BUILD FAILED
   /Users/thomas/Dev/Inv_WEB_v2/myV2/build.xml:206: Java returned: 1
           at org.apache.tools.ant.taskdefs.Java.execute(Java.java:107)
           at
  org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:
   288)
           at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke
   (DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:585)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Migrating to GWT 1.6 NoClassDefFoundError: org/apache/jasper/runtime/JspSourceDependent

2009-03-10 Thread Masto

Migrating from gwt 1.5 to gwt 1.6, i'm facing a problem trying to
start the hosted mode.

When i access my login.jsp using the HostedMode (under war/), i get a
NoClassDefFoundError (org/apache/jasper/runtime/JspSourceDependent).

I'm using Mac OS X Leopard.

See below all my projects structures:

my project structure :

Proj_1 (regular Java project)
   --- src
   --- build

Proj_2 (regular Java project)
   --- src
   --- build

Proj_3 (regular Java project)
   --- src
   --- build

Project_GWT (depends on Proj_1, Proj_2 and Proj_3)
   --- src
   --- build
   --- war
--- login.jsp
--- WEB-INF/
 --- lib/
 -- (lot of jars)
 --- classes/
 web.xml


See my classpath (using ant -v)

/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/classes
/Users/thomas/Dev/Inv_WEB_v2/myV2/gwt/gwt-mac-1.6.1/gwt-dev-mac.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/gwt-servlet.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/gwt-user.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/OFX.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/activation.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/bcel.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/bsh-2.0b4.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/commons-
beanutils.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/commons-
collections-3.2.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/commons-
csv-20070823.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/commons-
dbcp-1.2.2.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/commons-
digester-1.8.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/commons-
fileupload-1.2.1.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/commons-io-1.4.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/commons-
logging-1.1.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/commons-pool-1.3.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/fdfGenerator.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/
ganttproject-1.10.3.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/gdata-
calendar-1.0.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/gdata-calendar-
meta-1.0.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/gdata-client-1.0.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/gdata-client-
meta-1.0.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/gdata-
contacts-1.0.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/gdata-contacts-
meta-1.0.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/gdata-core-1.0.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/gwtext.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/gwtiger.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/itext-2.0.6.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/
jasperreports-3.0.1.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/jcommon-1.0.10.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/jfreechart-1.0.6.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/jibx-bind.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/jibx-extras.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/jibx-run.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/json.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/l2fprod-common-
tasks.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/log4j-1.2.14.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/mail.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/mygef.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/mysql-connector-
java-5.1.5-bin.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/
org.restlet.ext.servlet_2.5.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/org.restlet.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/pjx.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/poi-2.5.1-
final-20040804.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/smartgwt.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/xercesImpl.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/xmlParserAPIs.jar
/Users/thomas/Dev/Inv_WEB_v2/myV2/war/WEB-INF/lib/xpp3.jar
/Users/thomas/Dev/Inv_WEB_v2/Inv_WEB_v2/Proj_3/build
/Users/thomas/Dev/Inv_WEB_v2/Inv_WEB_v2/Proj_2/build
/Users/thomas/Dev/Inv_WEB_v2/Inv_WEB_v2/Proj_1/build

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Migrating to GWT 1.6 NoClassDefFoundError: org/apache/jasper/runtime/JspSourceDependent

2009-03-10 Thread Masto

I tried to put the gwt-dev-mac.jar (which should not be put, but it's
just to test). Now, i get a different error :

I installed recently Safari 4 BETA (just to let you know)

[...]
[java] On Mac OS X, ensure that you have Safari 3 installed.


BUILD FAILED
/Users/thomas/Dev/Inv_WEB_v2/myV2/build.xml:206: Java returned: 1
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:
288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Migrating to GWT 1.6 NoClassDefFoundError: org/apache/jasper/runtime/JspSourceDependent

2009-03-10 Thread Masto

Ok, i eventually managed to have everything works but i'm not happy.

To make this work, i had to :

- put gwt-dev.mac.jar inside my WEB-INF/lib so jetty can find the
classes in case of a JSP. That sucks because i have an extra step
(removing it) during my deployment to the prod server (which is what
the new project structure was supposed to avoid)

- generate the jar from my other projects (those my GWT-project depend
on) and then copy them to the WEB-INF/lib which add a step before
lunching the hosted mode. Generating all those  jars from my other
project takes 1 minute 30 (lot of stuff to copy). So, it makes testing
painfull.

I'm not really sure with the new project layout where to put my JSP
(that has nothing to do with GWT). In the war? Still in the public
path of my GWT project (as before)? And what about some js lib (ext)?

Cypal studio, which i used to use is totally broken with the 1.6. Even
if it's not perfect, it's used to make my life a little bit easier. :-
( I wish the GWT team has some plan about providing some tools/
plugins.


On Mar 10, 1:14 pm, Masto thomas.ric...@gmail.com wrote:
 I tried to put the gwt-dev-mac.jar (which should not be put, but it's
 just to test). Now, i get a different error :

 I installed recently Safari 4 BETA (just to let you know)

 [...]
 [java] On Mac OS X, ensure that you have Safari 3 installed.

 BUILD FAILED
 /Users/thomas/Dev/Inv_WEB_v2/myV2/build.xml:206: Java returned: 1
         at org.apache.tools.ant.taskdefs.Java.execute(Java.java:107)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:
 288)
         at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke
 (DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



NoClassDefFoundError in hosted mode

2009-02-11 Thread Gilles QUERRET

Hi all,

I'm working on an application with Jetty Continuations, and I'm
sometimes suffering from NoClassDefFoundError, where class not found
is a WhateverClass_FieldSerializer.
The context is a classical Continuations context, where users
connected to an application receive events from the server. In this
case, any user connected receives a notification when a new user
connects (so if 200 users are connected, 200 messages are sent).
In hosted mode, I sometimes get this exception in an already connected
session when a new user connects. Note that only one session receives
this message (I've never seen more than one connection receiving
theexception). No stack trace on the server, the problem only appears
client-side. No problem when running the compiled application (at
least, I've never seen it, even with more than 200 users connected).
So it's just a pain when in development mode ; this can happen even
with only 2 or 3 users connected.

Does anybody have any idea where this could come from ? Found nothing
on issues tracker.

Reproduced with GWT 1.5.3 and 1.6M
JDK 1.6.0_10
Win32

java.lang.NoClassDefFoundError: eu/rssw/events/client/LobbyEvent_FieldSerializer
at 
eu.rssw.events.client.UserConnectedEvent_FieldSerializer.deserialize(transient
source for eu.rssw.events.client.UserConnectedEvent_FieldSerializer:15)
at eu.rssw.comm.client.EventsService_TypeSerializer.deserialize(Native 
Method)
at 
com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.deserialize(ClientSerializationStreamReader.java:116)
at 
com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:61)
at 
com.google.gwt.user.client.rpc.core.java.util.Collection_CustomFieldSerializerBase.deserialize(Collection_CustomFieldSerializerBase.java:33)
at 
com.google.gwt.user.client.rpc.core.java.util.ArrayList_CustomFieldSerializer.deserialize(ArrayList_CustomFieldSerializer.java:31)
at eu.rssw.comm.client.EventsService_TypeSerializer.deserialize(Native 
Method)
at 
com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.deserialize(ClientSerializationStreamReader.java:116)
at 
com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:61)
at 
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter$ResponseReader$8.read(RequestCallbackAdapter.java:104)
at 
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:197)
at 
com.google.gwt.http.client.Request.fireOnResponseReceivedImpl(Request.java:254)
at 
com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch(Request.java:226)
at 
com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:217)
Caused by: java.lang.ClassNotFoundException:
eu.rssw.events.client.LobbyEvent_FieldSerializer
at 
com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:625)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at 
eu.rssw.events.client.UserConnectedEvent_FieldSerializer.deserialize(transient
source for eu.rssw.events.client.UserConnectedEvent_FieldSerializer:15)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at 
com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod(IDispatchImpl.java:126)
at 
com.google.gwt.dev.shell.ie.MethodDispatch.invoke(MethodDispatch.java:97)
at 
com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:294)
at 
com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:194)
at 
org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:117)
at org.eclipse.swt.internal.ole.win32.COM.VtblCall(Native Method)
at 
org.eclipse.swt.internal.ole.win32.IDispatch.Invoke(IDispatch.java:64)
at 
org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation.java:493)
at 
org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation.java:417)
at 
com.google.gwt.dev.shell.ie.ModuleSpaceIE6.doInvokeOnWindow(ModuleSpaceIE6.java:67)
at 
com.google.gwt.dev.shell.ie.ModuleSpaceIE6.doInvoke(ModuleSpaceIE6.java:152)
at 
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:447)
at 
com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:248