Classpath problem with test-classes

  • cedarsoft
Posted: Wed, 04/14/2010 - 00:41

Hi,

I have a problem with the classpath when I try to execute a script stored under src/test/fx.
This is my test folder for my Maven project.

Run As - JavaFX Application results in a java.lang.ClassNotFoundException for that class I tried to execute.

So I think there is some type of misconfiguration of my classpath. Can anybody help me?

Have you tried completely

  • maxkatz
  • 02/17/10
  • Wed, 04/14/2010 - 09:28

Have you tried completely rebuilding the project?

You can also post your script

  • maxkatz
  • 02/17/10
  • Thu, 04/15/2010 - 08:40

You can also post your script here and we will try to run it.

It should be very easy to

  • cedarsoft
  • 04/14/10
  • Mon, 04/19/2010 - 10:30

It should be very easy to reproduce that problem. Just import a Maven project (using m2eclipse), then create a fx script within the src/test/fx and try to run it.

Cleaning the project does not solve the issue...

We will try to reproduce it:

  • maxkatz
  • 02/17/10
  • Mon, 04/19/2010 - 10:40

We will try to reproduce it: http://jira.exadel.org/browse/FXP-53

I can't reproduce

  • abratukhin
  • 02/18/10
  • Tue, 04/20/2010 - 04:50

I can't reproduce such issue. Please, describe more details:
I've made following steps:
1. Import of maven project by m2eclipse
2. Create folder src/test/fx
3. Context menu -> Properties (on imported project) -> Java Build Path -> Source -> Add Foldre... -> select src/test/fx as source folder
4. Create JavaFX Script by wizard
5. Run As Application - it works fine

Now our plug-in is supporting

  • abratukhin
  • 02/18/10
  • Mon, 06/21/2010 - 20:18

Now our plug-in is supporting multiply source folders with different output folders for an one project.