You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2005/12/20 05:08:35 UTC

[jira] Moved: (MCLOVER-3) classpath error

     [ http://jira.codehaus.org/browse/MCLOVER-3?page=all ]

Jason van Zyl moved MNG-1757 to MCLOVER-3:
------------------------------------------

      Version:     (was: 2.0)
    Component:     (was: maven-clover-plugin)
     Workflow: jira  (was: Maven)
          Key: MCLOVER-3  (was: MNG-1757)
      Project: Maven 2.x Clover Plugin  (was: Maven 2)

> classpath error
> ---------------
>
>          Key: MCLOVER-3
>          URL: http://jira.codehaus.org/browse/MCLOVER-3
>      Project: Maven 2.x Clover Plugin
>         Type: Bug

>  Environment: Windows XP, JDK 5.0 update 6, Maven 2.0, maven-clover-plugin-2.0-alpha-1
>     Reporter: YueNi

>
>
> I used maven clover plugin to generate test report but got FileNotFoundException. I employ spring in my project, so I use ClassPathXmlApplicationContext in my JUnit test case to get the application context. When the "clover:report" goal is executed, I got the error message "Caused by: java.io.FileNotFoundException: class path resource [net/sf/psm4j/applicationContext.xml] cannot be opened because it does not exist"(Actually, the file exists in the right path) . When I executed the "mvn test"  goal, the unit test can be run without exception. In the same time, I can also run the test case in Eclipse without exception(The Eclipse ".classpath" file is generated by maven "eclipse:eclipse" goal). Therefore, I think there's something wrong in the maven clover plugin dealing with the classpath. 

-- 
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


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