sharkman / cypal-studio

Automatically exported from code.google.com/p/cypal-studio
0 stars 0 forks source link

NoSuchMethodError: org.apache.catalina.startup.Embedded.setDebug(I) #123

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a new projet on Eclipse
2. Create a new module on Eclipse
3. try to launch in hosted mode with a new application

config :
- Windows XP
- Eclipse 3.4.1
- Tomcat 1.6
- JDK 1.6

librairies cypal :
- in.cypal.studio.gwt.core_1.0.0.200808282244.jar
- in.cypal.studio.gwt.samples_1.0.0.200808282244.jar
- in.cypal.studio.gwt.ui_1.0.0.200808282244.jar

What is the expected output? What do you see instead?
The testing server is launch.

But I have the following exception :
Exception in thread "main" java.lang.NoSuchMethodError: 
org.apache.catalina.startup.Embedded.setDebug(I)V
    at 
com.google.gwt.dev.shell.tomcat.EmbeddedTomcatServer.<init>(EmbeddedTomcatS
erver.java:197)
    at 
com.google.gwt.dev.shell.tomcat.EmbeddedTomcatServer.start(EmbeddedTomcatSe
rver.java:69)
    at com.google.gwt.dev.GWTShell.startUp(GWTShell.java:778)
    at com.google.gwt.dev.GWTShell.run(GWTShell.java:582)
    at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)

Someone have an idea ?

Original issue reported on code.google.com by arcanne...@gmail.com on 18 Jan 2009 at 5:18

GoogleCodeExporter commented 9 years ago
I Have some precision about this Issues.
It's occured only when I want to plug my project on a Tomcat Server.

Thx for your help !

Original comment by arcanne...@gmail.com on 18 Jan 2009 at 6:43

GoogleCodeExporter commented 9 years ago
I solve this problem folowing this steps:
1 - go to the properties of the project;
2 - go to the "project faces" option;
3 - select "cypal´s GWT facet" (do not uncheck, only select);
4 - in the right side you are gonna see "Runtimes" tab;
5 - uncheck the "Apache Tomcat"
6 - Apply.

After doing this, I could run in "hosted mode" whithout problems.
That´s all.

I hope it help.

Original comment by mcramos....@gmail.com on 12 Mar 2009 at 2:42

GoogleCodeExporter commented 9 years ago
Salem_b_a

try deleting any Tomcat related jar (catalina.jar, .. .) if you don't need it :)

Hope it will work for you cause it was the case for me! 

Original comment by salem.be...@gmail.com on 14 May 2009 at 12:18

GoogleCodeExporter commented 9 years ago
I had the same issue and was able to fix mine by removing the catalina.jar from 
the 
classpath.

Original comment by r.brian....@gmail.com on 18 Feb 2010 at 6:18