On Wed, Apr 15, 2009 at 2:56 PM, Fernando Wermus
<[email protected]> wrote:
> Igor,
>     I avoid to use start.java because I get:
> org.apache.wicket.WicketRuntimeException:
> Application class com.misPartidos.web.EntretiempoApplication must be a
> subclass of WebApplication.

you have two wicket jars on your classpath.

-igor



>
> but I am using maven for everything. What am I doing wrong?
>
> I outline some of the spec of my projects:
>
> there are four modules
>
> 1 flex module
> 2 java module
>      a. compiled with java 5 in Eclipse
> 1 config module.
>
> wicket 1.3.0
>
> using m2eclipse
>
>
> webapp module---------------------------------------------------------------
>
>    <properties>
>        <wicket.version>1.3.0</wicket.version>
>        <jetty.version>6.1.4</jetty.version>
>        <blazeds.version>3.0.0.544</blazeds.version>
>    </properties>
>
> webapp dependecies------------------------------------------------------
>
>        <dependency>
>            <groupId>org.apache.wicket</groupId>
>            <artifactId>wicket-auth-roles</artifactId>
>            <version>${wicket.version}</version>
>        </dependency>
>        <dependency>
>               <groupId>org.apache.wicket.wicket-security</groupId>
>               <artifactId>wasp</artifactId>
>               <version>${wicket.version}</version>
>               <scope>compile</scope>
>        </dependency>
>        <dependency>
>            <groupId>org.apache.wicket</groupId>
>            <artifactId>wicket</artifactId>
>            <version>${wicket.version}</version>
>        </dependency>
>        <dependency>
>            <groupId>org.apache.wicket</groupId>
>            <artifactId>wicket-datetime</artifactId>
>            <version>${wicket.version}</version>
>        </dependency>
>        <dependency>
>            <groupId>org.apache.wicket</groupId>
>            <artifactId>wicket-extensions</artifactId>
>            <version>${wicket.version}</version>
>        </dependency>
>
>
> Please any help I would really appreciate.
>
>
> On Wed, Apr 15, 2009 at 2:09 PM, Igor Vaynberg <[email protected]>wrote:
>
>> and make sure you run mvn eclipse:eclipse from the folder that
>> contains the parent pom of both modules, that way yoru business logic
>> project is on the classpath of the webapp project instead of a jar.
>>
>> -igor
>>
>> On Wed, Apr 15, 2009 at 2:01 PM, Jeremy Thomerson
>> <[email protected]> wrote:
>> > Run the Start.java that came with the quickstart - but make sure to
>> "debug
>> > as -> java application" rather than "start as".  This will allow it to
>> pick
>> > up changes as you develop.
>> >
>> > --
>> > Jeremy Thomerson
>> > http://www.wickettraining.com
>> >
>> >
>> >
>> > On Wed, Apr 15, 2009 at 4:00 PM, Fernando Wermus
>> > <[email protected]>wrote:
>> >
>> >> I am. I am trying to solve this problem with jetty-test-plugin. Better
>> >> option?
>> >> http://docs.codehaus.org/display/JETTY/Multiple+WebApp+Source+Directory
>> .
>> >>
>> >> Eclipse isnt detecting the changes :(. Could it detect the changes by
>> >> itself?
>> >>
>> >> It compiles in webapp/target and business logic/target. Jetty reads
>> classes
>> >> at webapp/target.
>> >>
>> >> -fernando
>> >>
>> >> On Wed, Apr 15, 2009 at 1:47 PM, Igor Vaynberg <[email protected]
>> >> >wrote:
>> >>
>> >> > are you using eclipse?
>> >> >
>> >> > -igor
>> >> >
>> >> > On Wed, Apr 15, 2009 at 1:05 PM, Fernando Wermus
>> >> > <[email protected]> wrote:
>> >> > > Hi,
>> >> > >     I have a web site with wicket + maven. I use a maven module for
>> >> > > business logic and a maven module for webapp. Jetty looks .class
>> files
>> >> in
>> >> > > webapp/target. Before creating the multiples modules, I was
>> debugging
>> >> and
>> >> > > fixing the code all at the same time. Now, I have 2 modules and when
>> I
>> >> > make
>> >> > > a change in a business logic java file, I have the old  .class file
>> in
>> >> > > webapp/target which havent been replaced for logic business module
>> >> class.
>> >> > >
>> >> > > How can I make jetty take the last changes I ve made?
>> >> > >
>> >> > >
>> >> > > thanks in advance.
>> >> > >
>> >> > > --
>> >> > > Fernando Wermus.
>> >> > >
>> >> > > www.linkedin.com/in/fernandowermus
>> >> > > http://mientretiempo.blogspot.com/
>> >> > >
>> >> >
>> >> > ---------------------------------------------------------------------
>> >> > To unsubscribe, e-mail: [email protected]
>> >> > For additional commands, e-mail: [email protected]
>> >> >
>> >> >
>> >>
>> >>
>> >> --
>> >> Fernando Wermus.
>> >>
>> >> www.linkedin.com/in/fernandowermus
>> >> http://mientretiempo.blogspot.com/
>> >>
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
>
> --
> Fernando Wermus.
>
> www.linkedin.com/in/fernandowermus
> http://mientretiempo.blogspot.com/
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to