testCompile Unable to Include Compiled source classes
-----------------------------------------------------
Key: MCOMPILER-150
URL: http://jira.codehaus.org/browse/MCOMPILER-150
Project: Maven 2.x Compiler Plugin
Issue Type: Bug
Affects Versions: 2.2
Reporter: ashwin
C:\>mvn -version
Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
Java version: 1.6.0_21
Java home: C:\setup\Java\jdk1.6.0_21\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
[INFO] 1error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
\project\src\test\java\test\com\linkwithweb\WorkflowTest.java:[58,-1] cannot
access test.com.linkwithweb.Workflow
bad class file: \test\com\linkwithweb\Workflow.java
When you dont have same Directory structure in test and when import statements
are inform of com.linkwithweb.* in test calsses. It is trying to find wrong
classes file or infact pointing to wrong class file
--
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