jspresso hrsample app error-project integration with eclipse 3.5

2 posts / 0 new
Last post
sasi
Offline
Joined: 08/10/2010
jspresso hrsample app error-project integration with eclipse 3.5

 

Hi All,

Tahnks for your suggestions(Pierre) for my previous posts,Iam able to resolve the errors with your suggestions.

Now iam getting below exception after  importing hrsample app into my eclipse.

Iam able to resolve error 2 by changing java compiler in eclipse to 1.5 instead of 1.6...but is their any standard way to resove this error 2 issue?

tried couple of times by cleaning and building the project,but same result..looking for your help.

 

environment details:

eclipse 3.5 galielo version

Java 1.6

maven 2.2.1

error 1:

*******************************************

The project was not built since its build path is incomplete. Cannot find the class file for org.jspresso.framework.application.startup.AbstractFrontendStartup. Fix the build path then try building this project hrsample Unknown Java Problem

*******************************************


error 2:

*******************************************

 

Description Resource Path Location Type

Java compiler level does not match the version of the installed Java project facet. hrsample Unknown Faceted Project Problem (Java Version Mismatch)


*******************************************

Regards

Sasi.

 

atao
Offline
Joined: 10/15/2008
jspresso hrsample app error-project integration with eclipse 3.5

Sasi,

About the second point: it seems you work now with the java 1.5. Can you be more specific on the options you changed under Eclipse: installed jres in the general preferences? java compiler in the general preferences? or in the project properties?

Here I work with:

- in the Eclipse general preferences: jdk 1.6 as default installed jre and compliance level 1.6;

- in the jspresso projects:

  * for java compiler: default options, ie 1.6;

  * for Project facets: Java is checked and the option 6.0 is selected.

Have you checked this last point?

About the first issue: I would avoid to use the clean project command under Eclipse. It seems it cleans a little to much... Some jspresso files are then missing and the only way to resolve it is a "mvn package".

If you really want to clean your project, use "mvn clean package", but it can take quite a long time.

In any case, after a "mvn package", always update (F5) your project under Eclipse.

Regards

Pierre