-
1. Re: Can't find exception class for exception handler
marcioendo.marcioendo.gmail.com Mar 24, 2009 2:19 PM (in response to sherkan777)I had a similar issue.
It was happening when running in debug mode.
I moved the exception class to the /src/main folder (ie NOT the one which can be hot-deployed) and the message was gone. -
2. Re: Can't find exception class for exception handler
sherkan777 Mar 24, 2009 3:14 PM (in response to sherkan777)can u explain which folder?
lets take a look on my package:
src/com.myproj.exceptions
in exceptions there is my exception class.
where do I need to put this class?
In
src/SGUniUncheckedException.java
src/com/SGUniUncheckedException?
<core:init jndi-pattern"sguni/#{ejbName}/local" debug"false"/>
I work on debug false mode.
-
3. Re: Can't find exception class for exception handler
marcioendo.marcioendo.gmail.com Mar 24, 2009 6:44 PM (in response to sherkan777)Are you using hot deploy?
This was happening when hot deploy was enabled and when the exception was declared in pages.xml.
The exception should not be in a hot deployed source folder.
In a seam-gen project, the exception class should be in /src/main an NOT in /src/hot
-
4. Re: Can't find exception class for exception handler
sherkan777 Mar 24, 2009 8:56 PM (in response to sherkan777)nop, I'm not using hot deployment, also jboss has disabled it too.