I was trying to create a CAS project to my local myEclipse development
environment. I checked out code from SVN repository via URL:
https://www.ja-sig.org/svn/cas3/tags/cas-3-3-1-final
Then I try to build the checked out package and test it on my JBoss server.
Here is the command I used:
mvn -Dmaven.test.skip=true package install
The build process finished successfully, and I found the built war package,
cas-server-webapp-3.3.1.war as well.
But when I deploy this war package, I got following error message:
10:21:41,484 ERROR [1]] Error configuring application listener of class org.jasi
g.cas.web.init.SafeContextLoaderListener
java.lang.Error: Unresolved compilation problems:
The import org.springframework.web cannot be resolved
ContextLoaderListener cannot be resolved to a type
ContextLoaderListener cannot be resolved to a type
delegate cannot be resolved or is not a field
delegate cannot be resolved or is not a field
at org.jasig.cas.web.init.SafeContextLoaderListener.<init>(SafeContextLo
aderListener.java:14)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
.......
One thing is very interesting: I did the exact same thing to the
cas-server-3.3.1 package I downloaded from this URL:
http://www.jasig.org/cas/download/cas-server-331-final
And after I run maven build install, I can deploy generated war package without
any problems.
Is there anything I missed? Any suggestions highly appreciated. Thanks.
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-dev