[cas-user] CAS 4 & Eclipse?

108 views
Skip to first unread message

dano

unread,
Jul 21, 2014, 5:44:24 PM7/21/14
to cas-...@lists.jasig.org
Hi folks, sorry for some noob questions..but just getting started here.

I have the my maven overlay pom working (right now its empty, other then pulling the cas server). I have the project 'working' in eclipse (sts-3.6), i.e. i can fire it up and get to the login page and login using: casuser/Mellon.

Now...in order to say put a breakpoint in
AcceptUsersAuthenticationHandler
I need to obviously have the source...so I import the cas-4.0.0 project as maven (have eclipse ignore the license-plugin)..any all the poms are happy...

but now..when I try to debug/start the overlay project it fails, saying it can't find:
SEVERE: Error configuring application listener of class org.apache.catalina.deploy.ApplicationListener@313b4cf3
java.lang.ClassNotFoundException: org.jasig.cas.web.init.SafeContextLoaderListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:527)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:509)

thoughts?

(simply deleting the existance of cas-server again from eclipse, now allows my start again..but ...once again I cannot set break-points...most annoying.
--
You are currently subscribed to cas-...@lists.jasig.org as: jasig-cas-user...@googlegroups.com
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user

dano

unread,
Jul 21, 2014, 6:10:13 PM7/21/14
to cas-...@lists.jasig.org
I was finally able to get it work.

once cas 4 was imported I closed all the sub-projects.
After that I was able to debug with the overlay, (I was forced to manually 'link' the main cas-root folder, which now allows me step through the source.

Cheers
Dano
Reply all
Reply to author
Forward
0 new messages