Results 1 to 2 of 2
  1. #1
    Daniel is offline Member
    Join Date
    Jun 2007
    Posts
    91
    Rep Power
    0

    Default 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

  2. #2
    Eric is offline Senior Member
    Join Date
    Jun 2007
    Posts
    111
    Rep Power
    0

    Default

    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
    Java Code:
    import data.example.*;
    if you want a one class:

    Java Code:
    import data.example.className;

Similar Threads

  1. Problems with hibernate and eclipse
    By Albert in forum JDBC
    Replies: 2
    Last Post: 06-05-2008, 03:34 PM
  2. GUI problems.
    By saytri in forum New To Java
    Replies: 1
    Last Post: 12-16-2007, 10:27 PM
  3. Problems with Eclipse and MyEclipse
    By Eric in forum Eclipse
    Replies: 1
    Last Post: 07-05-2007, 08:10 PM
  4. Problems with the jar
    By Freddie in forum NetBeans
    Replies: 2
    Last Post: 05-29-2007, 03:50 PM
  5. Problems with the jar
    By Freddie in forum NetBeans
    Replies: 0
    Last Post: 05-09-2007, 02:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •