Not knowing what your exact problem with tomcat and eclipse is, I had somewhat of a trouble with the combination.

When using wicket, eclipse and maven I had a dependency to servlet-api which was provided, but which eclipse of course added to its classpass. My solution to this was to add a profile to my pom-file that added the servlet-api dependency only when it was active.

   <profiles>
       <profile>
           <id>eclipse</id>
           <dependencies>
               <dependency>
                   <groupId>javax.servlet</groupId>
                   <artifactId>servlet-api</artifactId>
                   <scope>provided</scope>
               </dependency>
           </dependencies>
       </profile>
   </profiles>

When using maven with my project I activate the profile to add the provided dependency.

mvn package -Peclipse

//Swanthe

overseastars wrote:
Hi all

I have this strange problem now. If i use jetty, everything is find. But if
I wanna run wicket application on tomcat in eclipse, it doesnt work. Any
ideas to solve this????? Do I need to do sth with tomcat??? I'm a newbie. So
is the question......





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to