-
Problems with Eclipse
I have installed Eclipse with Tomcat, and creates a Java Project in where I defined classes, beans and connection. Later it creates a Web Project and I need to use those classes, beans and connection, but it says that it does not find the classes, do you know how can I configure it ?.
I'm working with MySql
Can you help me?
Daniel:o
-
You have to import the package.
For example
your java project named "EXAMPLE" has this package: data
then when you are in your web project you have write this
Code:
import data.example.*;
if you want a one class:
Code:
import data.example.className;