Re: Problem while generating source code using maven's castor plugin

2005-04-27 Thread Kenney Westerhof
On Wed, 27 Apr 2005, Dinesh Pandey wrote:

The file sun/reflect/ConstructorAccessorImpl.class should be in
$JAVA_HOME/jre/lib/rt.jar, which is always in the classpath.
Can you check if it is?

> Hi All,
>
>
>
> I am getting the following error while trying to generate the source code
> using maven's castor plugin.
>
> Could anyone please help me?
>
> 
>
>
>
> C:\SHPS_Repo\da>maven java:compile
>
>  __  __
>
> |  \/  |__ _Apache__ ___
>
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
>
>
>
> build:start:
>
>
>
> java:prepare-filesystem:
>
>
>
> java:compile:
>
> my:castor:
>
> castor:prepare-filesystem:
>
>
>
> [echo] Generating sources for
> C:\SHPS_Repo\da/xsd/CanonicalEligibility.xsd
>
> -- Suppressing non fatal warnings.
>
>
>
> BUILD FAILED
>
> File.. C:\Documents and
> Settings\DineshP\.maven\cache\maven-castor-plugin-1.
>
> 2\plugin.jelly
>
> Element... ant:java
>
> Line.. 92
>
> Column 38
>
> java.lang.NoClassDefFoundError: sun/reflect/ConstructorAccessorImpl
>
> Total time: 2 seconds
>
> Finished at: Wed Apr 27 14:38:48 IST 2005
>
>
>
> _
>
>
>
> Thanks and regards,
>
> Dinesh
>
>
>
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problem while generating source code using maven's castor plugin

2005-04-27 Thread Dinesh Pandey
Hi All,

 

I am getting the following error while trying to generate the source code
using maven's castor plugin.

Could anyone please help me?



 

C:\SHPS_Repo\da>maven java:compile

 __  __

|  \/  |__ _Apache__ ___

| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~

|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

 

build:start:

 

java:prepare-filesystem:

 

java:compile:

my:castor:

castor:prepare-filesystem:

 

[echo] Generating sources for
C:\SHPS_Repo\da/xsd/CanonicalEligibility.xsd

-- Suppressing non fatal warnings.

 

BUILD FAILED

File.. C:\Documents and
Settings\DineshP\.maven\cache\maven-castor-plugin-1.

2\plugin.jelly

Element... ant:java

Line.. 92

Column 38

java.lang.NoClassDefFoundError: sun/reflect/ConstructorAccessorImpl

Total time: 2 seconds

Finished at: Wed Apr 27 14:38:48 IST 2005

 

_

 

Thanks and regards,

Dinesh