aspose file tools*
The moose likes Spring and the fly likes AbstractTransactionalJUnit4SpringContextTests cannot be resolved to a type Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "AbstractTransactionalJUnit4SpringContextTests cannot be resolved to a type" Watch "AbstractTransactionalJUnit4SpringContextTests cannot be resolved to a type" New topic
Author

AbstractTransactionalJUnit4SpringContextTests cannot be resolved to a type

albert kao
Ranch Hand

Joined: Feb 04, 2010
Posts: 239
I download the petclinic samples program.
I installed java 1.6.0_18, junit 4.8.2, Spring 2.5.6 and eclipse-rcp-galileo-SR2-win32.
CLASSPATH=C:\Program Files\squirrel-sql-3.1\plugins\h2.jar;C:\junit4.8.2\junit.jar;.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
JUNIT_HOME=C:\junit4.8.2
This is the compile error.
AbstractTransactionalJUnit4SpringContextTests cannot be resolved to a type AbstractClinicTests.java /org.springframework.config.java.samples.petclinic/src/test/java/org/springframework/samples/petclinic line 99 Java Problem
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

So put it on the classpath--you neglect to mention how you're compiling or anything (I find setting the CLASSPATH environment variable to be irksome, usually), but obviously the Spring library with that class isn't on the classpath.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AbstractTransactionalJUnit4SpringContextTests cannot be resolved to a type
 
Similar Threads
Spring 2.5 / AbstractTransactionalJUnit4SpringContextTests/ datasource
Integration test on JDBC (No Hibernate !) and Spring AbstractTransactionalJUnit4SpringContextTests
class library files - where are they?
running Spring project in Eclipse
Compilation error