Hi,

I'm migrating (by hand %-| ) from 2.0.2 to 2.1.0.M1.
It seems all ok now...BUT when I issue 
mvn clean compile 

I'm getting

[ERROR] The import org.springframework.test cannot be resolved

[ERROR] The import org.springframework.test cannot be resolved

[ERROR] ContextConfiguration cannot be resolved to a type

[ERROR] AbstractTransactionalJUnit4SpringContextTests cannot be resolved to
a type

[ERROR] The import org.springframework.test cannot be resolved

[ERROR] The import org.springframework.test cannot be resolved

[ERROR] ContextConfiguration cannot be resolved to a type

[ERROR] AbstractTransactionalJUnit4SpringContextTests cannot be resolved to
a type

...
error at import org.springframework.test.context.ContextConfiguration;

       ^^^^^^^^^^^^^^^^^^^^^^^

/home/ddefrancesco/workspace/aod-web/src/main/java/it/matrix/aod/service/BaseManagerTestCase.java:12:0::0
The import org.springframework.test cannot be resolved

error at import
org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests;

       ^^^^^^^^^^^^^^^^^^^^^^^

/home/ddefrancesco/workspace/aod-web/src/main/java/it/matrix/aod/service/BaseManagerTestCase.java:13:0::0
The import org.springframework.test cannot be resolved

error at @ContextConfiguration(locations = {
 ^^^^^^^^^^^^^^^^^^^

/home/ddefrancesco/workspace/aod-web/src/main/java/it/matrix/aod/service/BaseManagerTestCase.java:15:0::0
ContextConfiguration cannot be resolved to a type

error at public abstract class BaseManagerTestCase extends
AbstractTransactionalJUnit4SpringContextTests {
                                                 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

/home/ddefrancesco/workspace/aod-web/src/main/java/it/matrix/aod/service/BaseManagerTestCase.java:19:0::0
AbstractTransactionalJUnit4SpringContextTests cannot be resolved to a type

error at import org.springframework.test.context.ContextConfiguration;
       ^^^^^^^^^^^^^^^^^^^^^^^

/home/ddefrancesco/workspace/aod-web/src/main/java/it/matrix/aod/dao/BaseDaoTestCase.java:14:0::0
The import org.springframework.test cannot be resolved
error at import
org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests;
       ^^^^^^^^^^^^^^^^^^^^^^^

/home/ddefrancesco/workspace/aod-web/src/main/java/it/matrix/aod/dao/BaseDaoTestCase.java:15:0::0
The import org.springframework.test cannot be resolved
error at @ContextConfiguration(
 ^^^^^^^^^^^^^^^^^^^

/home/ddefrancesco/workspace/aod-web/src/main/java/it/matrix/aod/dao/BaseDaoTestCase.java:21:0::0
ContextConfiguration cannot be resolved to a type
error at public abstract class BaseDaoTestCase extends
AbstractTransactionalJUnit4SpringContextTests {
                                             
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

/home/ddefrancesco/workspace/aod-web/src/main/java/it/matrix/aod/dao/BaseDaoTestCase.java:26:0::0
AbstractTransactionalJUnit4SpringContextTests cannot be resolved to a type

I've checked the pom.xml

1) the dependency is right there where expected to be...

2) I've tried even building with compile scope but nothing to do...


Now I'm at critical point, any pointers??


TIA

--
Daniele


-- 
View this message in context: 
http://n4.nabble.com/spring-test-package-not-found-tp1596479p1596479.html
Sent from the AppFuse - User mailing list archive at Nabble.com.

Reply via email to