Yes, the fact that struts.xml is in your classpath twice is causing
the error.  You should be able to delete it from WEB-INF/classes and
fix your problem.

Matt

On 2/5/07, vicpk4 <[EMAIL PROTECTED]> wrote:


I did both - deleted 'lib' in src/main/webapp/WEB-INF/ and ran 'mvn clean',
but still have the same exception. I noticed, file 'struts.xml' located in
src/main/webapp/WEB-INF/Classes and in /TARGET/Classes. It's embarrassing me
a bit. Can this cause the error? Maybe, it is being processed twice in my
case?



Matt Raible-3 wrote:
>
> You should either run "mvn clean" or delete
> src/main/webapp/WEB-INF/lib. Doing both is probably a good idea.  Then
> things should work fine.
>
> Matt
>
> On 2/4/07, vicpk4 <[EMAIL PROTECTED]> wrote:
>>
>> Hello!
>>
>> I created AppFuse 2 project based on struts 2 basic archetype.
>> 'Jetty:run-war' works fine, but when started with 'jetty:run' (after 'mvn
>> war:inplace') , trying to login gives exception:
>>
>> The package name 'default' at locattion package -
>> file:/G:/AppFuse/appfuse-app/target/classes/struts.xml:9:54
>> is already been used by another package at location package -
>> file:/G:/AppFuse/appfuse-app/src/main/webapp/WEB-INF/classes/struts.xml:9:54
>> - package - file:/G:/AppFuse/appfuse-app/target/classes/struts.xml:9:54
>>
>> Please, suggest, what I'm doing wrong.
>>
>> Thanks a lot.
>> --
>> View this message in context:
>> 
http://www.nabble.com/Problem-with-jetty%3Arun-%28struts-2-basic%29-tf3169462s2369.html#a8792113
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> http://raibledesigns.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

--
View this message in context: 
http://www.nabble.com/Problem-with-jetty%3Arun-%28struts-2-basic%29-tf3169462s2369.html#a8808304
Sent from the AppFuse - User mailing list archive at Nabble.com.

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




--
http://raibledesigns.com

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

Reply via email to