You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jagadeesha T <ja...@yahoo.com> on 2005/02/12 12:49:45 UTC

JspC exception

Hi all,
        I am  doing compilation using JspC.It is giving ClassCastException. 
parentClassLoader = (URLClassLoader)Thread.currentThread().getContextClassLoader()
 
getContextClassLoader() will return AntClassLoader which is incompatible with URLClassLoader. 
Is this a bug? If so, does it has a fix?
 
Please, anybody has a solution for this. help me out.
 
Thanks,
Jagga
 
 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: JspC exception

Posted by Remy Maucherat <re...@apache.org>.
Jagadeesha T wrote:
> Hi all,
>         I am  doing compilation using JspC.It is giving ClassCastException. 
> parentClassLoader = (URLClassLoader)Thread.currentThread().getContextClassLoader()
>  
> getContextClassLoader() will return AntClassLoader which is incompatible with URLClassLoader. 
> Is this a bug? If so, does it has a fix?
>  
> Please, anybody has a solution for this. help me out.

I know you are probably trying to save our time reading by making your 
message shorter, but could you instead:
- post to tomcat-user
- post the full stack trace
- mention which version you are using

Thanks :)

Rémy

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org