archiva-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <wsm...@gmail.com>
Subject Upload broken on trunk?
Date Wed, 10 Mar 2010 20:22:12 GMT
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:

HTTP ERROR 500

Problem accessing /upload!doUpload.action. Reason:

    Could not initialize class
com.opensymphony.xwork2.validator.ValidatorFactory
Caused by:

java.lang.NoClassDefFoundError: Could not initialize class
com.opensymphony.xwork2.validator.ValidatorFactory
	at com.opensymphony.xwork2.validator.ValidatorFileParser.addValidatorConfigs(ValidatorFileParser.java:192)
	at com.opensymphony.xwork2.validator.ValidatorFileParser.parseActionValidatorConfigs(ValidatorFileParser.java:72)
	at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.loadFile(AnnotationActionValidatorManager.java:361)
...

>From the logs:

2010-03-10 15:11:17.762::WARN:  Error for /upload!doUpload.action
java.lang.ExceptionInInitializerError
	at com.opensymphony.xwork2.validator.ValidatorFileParser.addValidatorConfigs(ValidatorFileParser.java:192)
	at com.opensymphony.xwork2.validator.ValidatorFileParser.parseActionValidatorConfigs(ValidatorFileParser.java:72)
	at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.loadFile(AnnotationActionValidatorManager.java:361)
...
Caused by: java.lang.IllegalArgumentException: URI is not hierarchical
	at java.io.File.<init>(File.java:363)
	at com.opensymphony.xwork2.validator.ValidatorFactory.parseValidators(ValidatorFactory.java:323)
	at com.opensymphony.xwork2.validator.ValidatorFactory.<clinit>(ValidatorFactory.java:230)
	... 138 more
2010-03-10 15:11:17.782::WARN:  Nested in java.lang.ExceptionInInitializerError:
java.lang.IllegalArgumentException: URI is not hierarchical
	at java.io.File.<init>(File.java:363)
...

Is this expected because of some work in progress, or should it work?

-- 
Wendy

Mime
View raw message