onclave / NSGA-II

an implementation of NSGA-II in java
MIT License
43 stars 22 forks source link

Caused by: java.lang.ClassNotFoundException: org.jfree.chart.ui.ApplicationFrame #8

Closed RJoshlan closed 3 years ago

RJoshlan commented 3 years ago

Hello , i download the JFreeChart .It is the jcommon-1.0.24 and jfreechart-1.5.2. and 5.1 and 5.0 but still i get error for "import org.jfree.chart.ui.ApplicationFrame;" and it syas caused by class not found, so i don't know what is the problem. I am using eclipse ide and i also get another issue which is with XYDataset saying class not found similar to application frame error

Capture

onclave commented 3 years ago

Please provide more information on how you are setting up your project. This is a maven project, hence it can be directly managed by maven to resolve all dependencies.

If you are directly cloning the repository and working on the source code, you need to let Eclipse resolve the dependencies from the pom.xml file. You might need to import the project as a maven project into Eclipse before using it.

If you are using this library as a dependency to your project (recommended) from Maven Central, you can add it as a maven or gradle dependency as described here.

In both cases, you do not need to explicitly download any jar files as the IDE will do it for you provided you have an active internet connection.

Also, is this error thrown during build time?

RJoshlan commented 3 years ago

Yes this error is thrown during the build time

RJoshlan commented 3 years ago

Thanks now i understand. Can you also reply to my other questions

Where do i add the dataset in the code, Its a ddos attack dataset used to conduct feature selection.

and

secondly

Can i adapt your code for Multi-objective NSGA - 2 for solving feature selection problem, if it does how do i go about it

onclave commented 3 years ago

refer issue #9

onclave commented 3 years ago

refer issue #7