Nap,
thanx after the clean everything ran smoothly as expected.
The pom was correct.

On 3/28/07, Napoleon Esmundo Ramirez <[EMAIL PROTECTED]> wrote:

Hello Rolf,

i think it's still a classpath problem.  Have you put the necessary
dependencies in your pom?  AFAIK, eclipse does things separately that's
why
you have the classes compiled already in your workspace.  Try cleaning
your
workspace, then do a `mvn clean test' in the command line to see if it
still
gives the same error.  Provide us with your pom.xml too, it would be very
helpful. :)

Cheers!
Nap

On 3/28/07, Rolf Strijdhorst <[EMAIL PROTECTED]> wrote:
>
> Hi during the test phase of my project I get this error in maven2 using
> testng
>
> java.lang.Error: Unresolved compilation problems:
>     The import org.dbunit cannot be resolved
>     DefaultDataTypeFactory cannot be resolved to a type
>     DataType cannot be resolved to a type
>     DataTypeException cannot be resolved to a type
>     DataType cannot be resolved
>     at auction.test.FixDBUnit.<init>(FixDBUnit.java:3)
>
> But the classes already have been compiled.
> And in my eclipse workspace if I run the test with my test tool
everything
> is just OK
>
> Does some have a clue? in what direction to search here?
>
> thanx Rolf
>

Reply via email to