java.lang.Enum is the issue since Enum is only available since Java 5.
Change JDK to 1.5
Oleg

-----Original Message-----
From: DEBANJAN [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 10, 2007 10:06 AM
To: [email protected]
Subject: A ServiceMix query(Eclipse), errors and jar files


Hi,
I am quite new working with ServiceMix and have a couple of basic
queries.

I have downloaded the code of servicemix and eclipse from the wiki page
in
my X: drive. Now I can observe 15 errors itself after viewing the code
through Eclipse. The error reads like---

<<--
SeveSeverity and Description    Path    Resource        Location
Creation Time   Id
The project was not built since its build path is incomplete. Cannot
find
the class file for java.lang.Enum. Fix the build path then try building
this
project         CVEventHandler  Unknown 1192017959971   25837
rity and Description    Path    Resource        Location        Creation
Time    Id
The project was not built since its build path is incomplete. Cannot
find
the class file for java.lang.Enum. Fix the build path then try building
this
project         CVEventHandler  Unknown 1192017959971   25837
-->>

I guess the error is due to non-availability of jar files and PATHS.

Now when i browse to MenuItems>Window>Preferences>Installed JARs, I
observe
the default settings as-

JRE name - j2re1.4.2_06
JRE Home Directory- C:\Program Files\Java\j2re1.4.2_06
and some jres which is referenced to C:

I have manually added a 3 jar files as follows-

X:\eclipse-3.2\dev\lib\servicemix\stax-api-1.0.jar
X:\eclipse-3.2\dev\lib\servicemix\servicemix-2.0.2.jar
X:\eclipse-3.2\dev\lib\servicemix\servicemix-3.0-M1.jar


I want to know,
1. Do we need to download any external jar files to remove the errors of
the
Servicemix?
2. Are those jars pointing to C: atall needed?
3. Do I need to add any other jar manually?

Thanks in advance.
Regards
-Dev
-- 
View this message in context:
http://www.nabble.com/A-ServiceMix-query%28Eclipse%29%2C-errors-and-jar-
files-tf4601051s12049.html#a13136602
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to