If you are working with eclipse and implementing the serializable interface to your own class, most likely that you would get the following error if you have not declared the serialVersionUID. The error is: The serializable class XXXX does not declare a static final serialVersionUID field of type long What is serialVersionUID? Write an object to file? What …
Eclipse
How To Set Tomcat JVM Heap Size in Eclipse?
If JVM head size for Tomcat is not enough, you would get the error java.lang.OutOfMemoryError. If you are using eclipse, it is easy to increase the available heap size by using the server configurations. Look at the below steps to configure the VM arguments passed to JVM for running the tomcat server. 1. Open Server …
How To Resolve “Resource Is Out Of Sync With The Filesystem” Error in Eclipse?
The error in eclipse IDE Resource Is Out Of Sync With The File system happens many time when the resource is out of sync and may be updated by some other sources. We need refresh each time by default to load that files. There is settings in eclipse to permanently fix this problem. Look at …
Update Eclipse Project Facets Using Settings File
In some cases you will not be able to change the eclipse project facets through dialog boxes. It would happen many times when you want to downgrade your versions of facets used by your eclipse project. For example, If your current project configuration is Dynamic Web Module 3.0, if you try to downgrade to 2.5, …
How To Increase Heap Size in Eclipse?
If you get the error java.lang.OutOfMemoryError: Java heap space while running Java applications, it means that your Java application environment don’t have the sufficient space to store the values needed for your application. This could be because of the following reasons: By mistake, you have set the less memory for your Java environment (or) Your …
Convert Java Project to Web Project in Eclipse
This tutorial is for adding a simple tips to the Eclipse developers. When you have a Java project already created in your eclipse, now you want to convert that same project to a Web project instead of creating a new project. We can do that easily using the property window for that specific project. 1. …
How to Attach JDK source with Eclipse IDE?
This tutorial explains about how to attach JDK source code to your working environment. When you want to look at particulat source code, we can use CTRL+Click on the class name to refer the source code. However, by default developer can not refer JDK’s core Java files. It is referenced as the class files and …
Editing eclipse classpath file
While creating a project in Eclipse, by default it creates a .classpath file in the project directory. That file will be usedfor storing file names and other dependent files needed in the classpath to compile and execute the project successfully. Normally this file will be updated automatically when ever you update the project libraries here …