Opening java project in eclipse environnement

Hi all,
I use eclipse environnement for java programming. I cannot open my project in eclipse, even if I specify the workspace. When I open eclipse in the specified workspcae, I cannot clic on the option "open project". Does anyone know how to open one projet in eclipse !!!!!
Thanks a lot for any help ...
javaFriendly

Probably best to ask in the Eclipse forums, yes?
However.....I guess your Eclipse project might have got corrupted or something, so (assuming your source files are still okay), backup your .java files somewhere else, delete the project directory and, in Eclipse, create a new project with the same name and then move over all your files back over. Has worked for me on a couple of occasions.

Similar Messages

  • How to Debug a Java Project in Eclipse using Tomcat6.0

    Hi
    Can anybody help me with the following questions.
    1.How to create a java project in eclipse(I am using jsp,servlets,jsf,spring,jasper,struts).
    2.How to debug my application in Eclipse Europa by putting break points.
    3.how should i add Tomcat6.0 to my project in order to debug my application so that i can put break points while running the applications and observe the values.
    Thanks
    Bala

    You may find this tutorial useful regarding to JSF, Eclipse and Tomcat: http://balusc.blogspot.com/2008/01/jsf-tutorial-with-eclipse-and-tomcat.html
    To put breakpoints, just doubleclick on the left gray rule of the code, you'll get blue bullets at the left rule, indicating a break point. Run Tomcat in debug modus (rightclick Tomcat � debug). Use the Eclipse debug perspective to step in the code (window � open perspective � debug).

  • Adding java projects in eclipse instead of jar files

    I have 2 java projects, one is in C:/test/ProjectA and another is C:/test/ProjectB
    Under projectA and ProjectB i have sub projects.
    I mainly work on ProjectB and import the jar of ProjectA in eclipse.
    Now I have removed jar file of ProjectA reference through eclipse and import projects to workspace, added projects under java build path. clean and build project. no compilation error in eclipse.
    when i do this, one of the class file is not getting loaded while server startup:
    07-Sep-2011 09:28:03 org.apache.catalina.loader.WebappClassLoader validateJarFile
        INFO: validateJarFile(C:\project\europa\NOS-OCT-TEST\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ESW\WEB-INF\lib\javaee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
        NOS 0    [main] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/ESW]  - Error configuring application listener of class com.bgc.ecm.core.web.listener.Log4jRemappingListener
        java.lang.ClassNotFoundException: com.bgc.ecm.core.web.listener.Log4jRemappingListener
             at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1386)
             at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1232)
    when i add relevant jar file to the project and do a clean build server is getting started as expected.
    But my changes are not reflecting since it is referring old jar file.
    I am using Tomcat server as development environment.
    What i want is instead of refering jar file in eclipse, add projects so that the new changes should reflect the changes without ant build for creating jar file and instead only with eclipse build with source code of the dependent project and run the application.

    847389 wrote:
    I have 2 java projects, one is in C:/test/ProjectA and another is C:/test/ProjectB
    Under projectA and ProjectB i have sub projects.
    I mainly work on ProjectB and import the jar of ProjectA in eclipse.
    Now I have removed jar file of ProjectA reference through eclipse and import projects to workspace, added projects under java build path. clean and build project. no compilation error in eclipse.If you have imported the depended jar, and if its a java project. the eclipse by default refer these while compiling. I mean before using either of the ant script the or build project option in eclipse. And because of this it is not giving error.
    >
    when i do this, one of the class file is not getting loaded while server startup:
    07-Sep-2011 09:28:03 org.apache.catalina.loader.WebappClassLoader validateJarFile
    INFO: validateJarFile(C:\project\europa\NOS-OCT-TEST\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ESW\WEB-INF\lib\javaee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
    NOS 0    [main] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/ESW]  - Error configuring application listener of class com.bgc.ecm.core.web.listener.Log4jRemappingListener
    java.lang.ClassNotFoundException: com.bgc.ecm.core.web.listener.Log4jRemappingListener
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1386)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1232)
    And when you deploy the build app in tomcat it looks for the dependent jar/classes in lib or classses folder, and as it is not there the error is thrown.
    If you are using ant script then please specify which jar files to load in lib folder.
    when i add relevant jar file to the project and do a clean build server is getting started as expected.
    But my changes are not reflecting since it is referring old jar file.
    I am using Tomcat server as development environment.
    What i want is instead of refering jar file in eclipse, add projects so that the new changes should reflect the changes without ant build for creating jar file and instead only with eclipse build with source code of the dependent project and run the application.If you want this, then write ant script compatible of loading both the jar's.
    Or you can make the ant to prompt the user which jars to be loaded, while building (I suggest this option, rather than loading all the jar's of project A and project B).

  • How can i import dll files in java project in eclipse?

    Hi All,
    How can i import or link dll files in java project in eclipse?....
    dll files contains
    import com.ms.com.ComLib;
    import com.ms.com.Variant;
    import com.ms.com.ComFailException;
    import com.ms.wfc.data.AdoException;
    import com.ms.wfc.data.AdoEnums;
    Any idea of this please tell me.....
    I am using eclipse 3.4 and JRE 1.4
    Is this possible?
    Please tell me!!!!!!!!!!!!!
    Voddapally

    iMovie cannot edit mpg files, unles they come directly from a supported camera.
    I would suggest that you use a free third party app to convert it.
    Get MPEG Streamclip from Squared 5, which is free.
    Drag you mpg clip into MPEG Streamclip.
    Then, FILE/EXPORT USING QUICKTIME
    Choose Apple Intermediate Codec, and save it where you can find it. You should be able to import this file into iMovie, using the FILE/IMPORT/MOVIE command.
    Note: If your file is an MPEG2 clip, you may need to purchase the Apple QuickTime MPEG2 Playback Component from Apple. MPEG Streamclip will tell you if you need this. Don't buy it unless you have to. It costs about $20. You just have to install the component. MPEG Streamclip will use it in the background.

  • Opening a project in Eclipse by using a java program from outside..

    Hi friends,
    I have a java program which will open the Eclipse editor..now i want to open a file , in a specifeid path, in that eclipse. I completed opening the eclipse editor and also i m fetching the file which in a particular path..my problem is i couldnt open that file in eclipse by using my java program..
    i donno how to open a particulat file or proj in the eclipse from outside java prog.
    thanks,
    Krishna

    Try this:
    Error "This project contained a sequence that could not be opened" 

  • Compiling a Java Project in Eclipse

    Hey all, I'm having trouble compiling a project.
    I had a Java class two years ago and I forget how to do it. I have all the files in a folder named "final" on my desktop.
    Inside "final" is all my sounds, images, a file called table.class, sound.class, sound.java, and table.java.
    How do I get this thing to be an executable again???

    Create a new project in Eclipse and get it to work like you want. Then go to File > Export to make a jar file.

  • How to import java project to Eclipse?

    Hi
    I just got a java project which has jsp, java, struts and the .settings folder has
    org.eclipse.core.resources.prefs
    org.eclipse.jdt.ui.prefs
    org.eclipse.ltk.core.refactoring.prefs
    org.eclipse.wst.validation.prefs
    .Project file has <name>org.eclipse.jdt.core.javabuilder</name>
         <nature>org.eclipse.jdt.core.javanature</nature>
    The jsp and java files are under src folder.
    Since it is my first time to use eclipse platform, I do not know where should I put all those source files?
    Is it a dynamic web application to have those *.prefs in .settings folder?
    Thanks for help

    Why have you posted this in the JSF forum? This has nothing to do with JSF.
    To import an existing project in Eclipse, just rightclick somewhere at Project Explorer and choose Import.

  • Loading a Java project into Eclipse.

    I am trying to load a project from in eclipse
    The project is in c:\Project and is called ABC.
    My workspace in eclipse is c:\MyWorkspace.
    I am trying to import this project into the above workspace
    I am saying: New - Project - Java Project - Create project from existing source (and point it to c:\Project\ABC)
    Error:The specified location already exists.
    How do I get project ABC into my workspace ?
    I seem to have forgotten

    Just move the folder "ABC" from C:\Project to C:\Workspace
    then create a new Java Project named "ABC" and you are all set.
    Don't choose "Create from existing project" Just create the project.
    Message was edited by:
    jjhusa01

  • How can i open Jbuilder project in Eclipse

    Hi All
    Can anyone tell me that how can i open Jbuilder 2006 project(.jpx)
    in Eclipse 3.2.2
    Regards

    Hello, perhaps this will be helpful : http://www-128.ibm.com/developerworks/library/os-ecidea/.
    *Edit - This link will be much more useful : http://www.bleb.org/software/jpx2eclipse/
    Laginimianeb
    Message was edited by:
    laginimaineb

  • Flex/Java project w/Eclipse Galileo

    Hi,
    I've recently installed Eclipse Galileo and am trying to get a test Flex app using BlazeDS up and running with the Flex Builder plugin.  I've got the exact same project and setup configured with Eclipse Ganymede and everything runs fine, but am completely stuck in getting it to work with Galileo.
    I initially created the Flex Project with the J2EE server option using remote object access with LiveCycle.  I also selected the create combined Java/Flex project using WTP.  I'm using a Glassfish v2.1 server and use the default context root and content folder, and am also pointing it to the blazeds.war file.  This is exactly the same way I set things up with Ganymede.
    When I try to run the project, I get a status 404.  If I go to the Flex Server properties for the project and ask it to validate the location, it says that it can't access the web server.  I know the server is running and has the application deployed and the root folder and URL seem to be correct.
    Is there anything that changed in this area between Ganymede and Galileo?  Can anyone give me any other pointers regarding what to look for to track down the problem?  I've looked at the .flexProperties files and they are exactly the same between the two, other than the workspace I'm using.  I'm really stuck on this and would very much appreciate any help.
    Thanks so much!
    Renee

    Is there no one who can help me. Or is this thread better suited for another topic (and which one)?

  • A question regarding Java project in ECLIPSE IDE

    A question regarding eclipse.
    No offence meant.
    I have added a jar file to the current project in its build path.
    This executes the concerned class file which is in the jar file.
    If I remove the jar file from the build path and run the project,
    it still executes that class file.
    I tried building a clean project and running it,but still executes the jar file and the class.
    Any idea why this is happening?

    A question regarding eclipse.
    No offence meant.People are not usually offended by Eclipse.
    I have added a jar file to the current project in its
    build path.
    This executes the concerned class file which is in
    the jar file.
    If I remove the jar file from the build path and run
    the project,
    it still executes that class file.
    I tried building a clean project and running it,but
    still executes the jar file and the class.
    Any idea why this is happening?You have that class file elsewhere
    or you have confused your problem statement.
    Why don't you create a new project and add everything except that class/jar (whichever yu mean)

  • Unable to resolve "Missing Required java Project : com.sap.dictionary"

    HI ,
      Iam praveen , working on web dynpro's , I imported a project template and repaired it and all the .jar files are included in the project . But still am getting some errors like the below...
    Error               Missing required Java project: com.sap.dictionary.services.     com.sap.dictionary.runtime          Build path
    Error               Missing required Java project: com.tssap.sap.libs.logging.     com.sap.dictionary.runtime          Build path
    Error               Missing required Java project: com.tssap.sap.libs.xmltoolkit.     com.sap.dictionary.runtime          Build path
    Error               Missing required Java project: org.eclipse.core.resources.     com.sap.dictionary.runtime          Build path
    Error               Missing required Java project: org.eclipse.ui.     com.sap.dictionary.runtime          Build path
    Error               The project was not built due to classpath errors (incomplete or involved in cycle).     com.sap.dictionary.runtime          
    can anyone help me in resolving these problems, i have been trying to resolve this problem , but failed. send me solution if any one can solve it
    -Praveen

    Hi praveen,
    your project refers to a dictionary that you haven't in the project. Besides, right click on the WD project and check all the external references to others projects. You must open the external projects pointed by your WD.
    Hope this help you,
    Vito

  • JEditorPane  == "Web Project In Eclipse  "

    Hi,
    I am using eclipse 3.2 and I am creating a "Bank" project as a "dynamic web project" in eclipse.
    My Bank project's gui has a JEditorpane . I also have a button outside JEditorpane.
    When the button is clicked, a html file (form) is displayed inside JEditorpane.
    My html file name is "checking.html". I had placed "checking.html" inside the C:/...../workspace/Bank.
    But when I give like this and click button ,it is not displayling my html file in the JEditorpane.
    But instead of having that "Bank" project as a "dynamic web project" in eclipse, if I have it as "java project" in eclipse, it is able to display the html file on button click.
    But I want to have 'Bank' only as "dynamic web project" in eclipse. So what can I do to resolve this issue.
              checking_button.addActionListener(
                        new ActionListener()
                        public void actionPerformed (ActionEvent event)
                             try
                                jeditor_pane.setPage("file:checking.html");
                             catch(Exception e)
              );

    I want to find out the implemented classes of these interfaces.
    can i use the right click menu of mouse to find those classes ?If you want to find the implementors of an interface:
    (1) Right click on the interface whereever it occurs in your code or in the Package
    Explorer, and select "Open Type Hierarchy (F4)"
    (2) Then in the Type Hierarchy pane, right click on the interface and follow the menu
    from "Implementors". You can find the classes that implement this interface in your
    workspace, project or in a working set.

  • How to Compile java project on command prompt

    Hello Friends,
    I have created one java project in eclipse. It has 3 packages, 4 external jars and one Link source (meaning it uses other java package that is not in the same project folder)
    It runs perfectly using eclipse.
    Now I want to compile my project and want to run that project.
    I tried using "javac -classpath........." but it didn't work for me. Here is the command I used:
    I am running this command under my main project folder
    javac -classpath ./../../../lib/tools/lib/blur/blur_formats-1.0.jar;./../lib/commons-codec/commons-codec-1.3.jar;./../lib/commons-httpclient/commons-httpclient-3.1.jar;./../lib/commons-logging/commons-logging-1.1.1.jar;./../lib/org.json/org.json.jar;./../lib/smack/3_0_4/smack.jar;./../../../device/branches/viper/Service/blur/common/push/src* ./src/com.proj.hnm.push.StartService.java*
    1) /device/branches/viper/Service/blur/common/push/src - is a different package I am referring (not in my current project folder) - it has java files in com.pushsync package
    2) ./src/com.proj.hnm.push.StartService.java is my main class, com.proj.hnm package also contains another 2 package, and those other packages also have .java files
    Please tell me how do I run my java project?
    Thanks

    Hi
    Since it works fine in Eclipse you should install the [Fat Jar eclipse plugin|http://fjep.sourceforge.net/] which will pack everything thats in your eclipse project into a single jar file. Then you can run: java -jar myProject.jar and it should work.

  • Export Project from Eclipse..?

    Hi All,
    How to export a Java Project from Eclipse including CLASSPATH libraries and that are in CONFIGPATH.. without missing..?
    Thanks,
    Vishnu

    As already suggested, you can export the entire Eclipse project as an archive like zip/tar, copy the archive to other system, extract and import it as an existing project into Eclipse on that system.
    Now to export an entire Eclipse project into an archive file, you can use File -> Export and select "Archive File" (under category "General") from the list of options and select the project you would like to export. It will create the archive of your project's filesystem including classpath and buildpath entries. You would have to ensure that all the classpath and buildpath entries, ATG Root etc. are valid on the system where you import it or you can update them manually if required.

Maybe you are looking for