The upload issue looks like it needs a Struts upgrade: 
http://issues.apache.org/jira/browse/WW-2684. It also exists in Archiva 1.3.x.

The browse issue is new due to us using the Maven 3.0 libs internally, and they 
are trying to lookup stuff from Maven 2 running the app (though same problem 
using Maven 3, presumably because Jetty refers to the Maven 2 libraries as 
well). I'll see if Spring can ignore those components.xml's.

- Brett

On 11/03/2010, at 10:01 AM, Brett Porter wrote:

> I get both the same problems with jetty:run (which I haven't really been 
> using), but there are no problems with the standalone jetty bundle or the WAR 
> on Tomcat (as run through the Selenium tests).
> 
> I'll take a look, but in the mean time you can try the later two (mvn 
> -Dcargo.wait=true integration-test in the Selenium tests dir should work).
> 
> - Brett
> 
> On 11/03/2010, at 8:06 AM, Wendy Smoak wrote:
> 
>> On Wed, Mar 10, 2010 at 3:22 PM, Wendy Smoak <[email protected]> wrote:
>>> I built trunk and started the webapp with mvn jetty:run.  Trying to
>>> upload a jar resulted in an error page with an impressive stack trace:
>> 
>> ... so I deployed an artifact with deploy:deploy-file instead, but
>> browsing doesn't seem to work either:
>> 
>> HTTP ERROR 500
>> 
>> Problem accessing /browse/com.example/test. Reason:
>> 
>>   org.apache.maven.profiles.activation.JdkPrefixProfileActivator
>> cannot be cast to
>> org.apache.maven.model.profile.activation.ProfileActivator
>> Caused by:
>> 
>> java.lang.ClassCastException:
>> org.apache.maven.profiles.activation.JdkPrefixProfileActivator cannot
>> be cast to org.apache.maven.model.profile.activation.ProfileActivator
>>      at 
>> org.apache.maven.model.profile.DefaultProfileSelector.isActive(DefaultProfileSelector.java:95)
>>      at 
>> org.apache.maven.model.profile.DefaultProfileSelector.getActiveProfiles(DefaultProfileSelector.java:61)
>> ...
>> 
>> I was going to take a stab at Brett's suggestion in the 'Facets'
>> thread, but am not having much luck with trunk today. :)
>> 
>> -- 
>> Wendy
> 
> --
> Brett Porter
> [email protected]
> http://brettporter.wordpress.com/
> 
> 
> 
> 

--
Brett Porter
[email protected]
http://brettporter.wordpress.com/




Reply via email to