Skip to main content

Posts

Showing posts from April, 2008

This project needs to migrate WTP data!

This stupid error kept coming when I changed the location of my project and tried to import it again... This error didn't go away till I built the project using eclipse but once I used ANT to build my project! All I did was to igore the error! :) There was no effect of it on the project so I just happily ignored it :D

The preferences for the xdoclet runtime does not point to a valid installation

When importing a project I was getting this error " The preferences for the xdoclet runtime does not point to a valid installation" Followed the following procedure: 1. I tried to download the xdoclet jar file 2. Copy it somewhere in the hard disk 3. Point it to the jar file on eclipse http://sourceforge.net/project/showfiles.php?group_id=31602

Java Build Path Errors

This is one bugging problem which occurs when you try to import an existing project into your current workspace...When this happens in eclipse take a quick look on the .classpath file in your project root folder! Check all the references you are making in the .classpath file. Set the environment variables properly Check the project references you have in here:

Java Exception: The type java.lang.Object cannot be resolved

Exeption Text: The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files There can be two solutions to this problem when it occurs in Eclipse Eclipse doesn’t know where the J2EE jar file is present. To give the path: - Right Click Project you are working on from Package Explorer- Go to Properties- Go to Java Build Path from the right tree structure- Go to Libraries Tab- Choose Add External Jars Button- Select J2EE.jar file normally in C:\Sun\AppServer\lib folder.- Hit Finish In Eclipse, the cause of this problem is that you somehow deleted the SYSTEM JRE LIBRARY associated with your project. Simple fix in Eclipse:-Right Click Project you are working on from Package Explorer-Go to Properties-Go to Java Build Path from the right tree structure-Go to Libraries Tab-Choose Add Library Button-Select JRE System Library-Hit Next, the Radio button will prompt the Workspace default JRE, and let it be that way-Hit Finish