Hi Steve,
Our RM lead is out on vacation and he would be the best person
to investigate, however, I wanted to mention that COSMOS only supports Java
1.5. Have you tried the Datacenter example with Java 1.5? And if so
do you get the same results?
Cheers,
-Jason
From:
cosmos-dev-bounces@xxxxxxxxxxx [mailto:cosmos-dev-bounces@xxxxxxxxxxx] On
Behalf Of Steve Jerman (stjerman)
Sent: Wednesday, December 10, 2008 6:57 PM
To: Cosmos Dev
Subject: RE: [cosmos-dev] Minutes for architecture call posted
When I try and use this with the Datacenter example, I get three
errors and I get the following error logged.
My configuration is as follows:
Any suggestions? Is there any interaction with the parser
in the JRE?
eclipse.buildId=M20080911-1700
java.version=1.6.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
Error
Wed Dec 10 15:26:05 PST 2008
An internal error occurred during: "Validating...".
java.lang.NoClassDefFoundError:
org/apache/xerces/xs/XSTypeDefinition
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.eclipse.cosmos.rm.internal.validation.core.ValidationFactory.createValidator(ValidationFactory.java:50)
at
org.eclipse.cosmos.rm.internal.repository.operations.SMLMainValidator.createValidators(SMLMainValidator.java:505)
at org.eclipse.cosmos.rm.internal.repository.operations.SMLMainValidator.start(SMLMainValidator.java:229)
at
org.eclipse.cosmos.rm.internal.repository.operations.FileValidateOperation.run(FileValidateOperation.java:200)
at
org.eclipse.cosmos.rm.internal.smlif.actions.ValidateResourceAction.runValidation(ValidateResourceAction.java:100)
at
org.eclipse.cosmos.rm.internal.smlif.actions.ValidateResourceAction.access$1(ValidateResourceAction.java:95)
at
org.eclipse.cosmos.rm.internal.smlif.actions.ValidateResourceAction$SMLValidationJob.run(ValidateResourceAction.java:139)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.ClassNotFoundException:
org.apache.xerces.xs.XSTypeDefinition
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:481)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:397)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:385)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 10 more