maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anders Sveen (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MPCHECKSTYLE-20) Unable to get class information for custom exceptions
Date Fri, 18 Aug 2006 09:18:49 GMT
    [ http://jira.codehaus.org/browse/MPCHECKSTYLE-20?page=comments#action_72654 ] 
            
Anders Sveen commented on MPCHECKSTYLE-20:
------------------------------------------

Changing the scope from provided to compile fixed the problem. It makes maven include the
file in the war, but for the Servlet API that's no biggie. Other libs might cause more trouble.

> Unable to get class information for custom exceptions
> -----------------------------------------------------
>
>                 Key: MPCHECKSTYLE-20
>                 URL: http://jira.codehaus.org/browse/MPCHECKSTYLE-20
>             Project: maven-checkstyle-plugin
>          Issue Type: Bug
>    Affects Versions: 2.3
>         Environment: maven-1.0-rc2
>            Reporter: Ryan Sonnek
>
> checkstyle reports an error "Unable to get class information" for custom exceptions within
the same project.  it is able to load exceptions that are listed as dependencies for the project,
but not for other exceptions.  one workaround is to only use throws Exception in the signiture,
but that's really a hack.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message