AbstractTransactionalJUnit4SpringContextTests cannot be resolved to a type
posted 6 years ago
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
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
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.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads