You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by "Jane Zhan@3web.com" <ja...@3web.com> on 2004/11/25 21:14:43 UTC

WCK Building Error

 Hi, 

I am building WCK with my added custom store to do Tomcat+WCK+my own file mgmt system. Can anyone tell me why I am

getting the following error?

Thanks,

Jane

==============================================================================================

build:

[echo] Building WCK

[javac] Compiling 17 source files to D:\eclipse\workspace\webdav\build\classes

BUILD FAILED: java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main (Unsupported major.minor version 49.0)

Total time: 891 milliseconds



Re: WCK Building Error

Posted by Oliver Zeigermann <ol...@gmail.com>.
On Tue, 30 Nov 2004 09:27:51 -0500, Jane Zhan@3web.com
<ja...@3web.com> wrote:
> WCK works with 2.2.
> What is the correct procedure to get Slide 2.2 comparable jar files?
> Required jar files were listed
> in my last email (please see below.)

WCK works with both 2.1 and CVS HEAD. If you want to build against 2.1
you can download 2.1b2 (this will need adaptions of build.properties).
If you want to build against CVS HEAD. Just checkout the CVS head and
build WCK and Slide from sources.

I will add a WCK quickstart ASAP which describes the shortest way
possible to get something working. I will let you know when it's
there.

Oiover

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: WCK Building Error

Posted by "Jane Zhan@3web.com" <ja...@3web.com>.
Hi, Oliver,
Please see below.
>A few questions:
>
> - Which target do you yourself compile to?
I changed in build.properties to "target=1.3." was 1.4.

> - Why did you modify build.xml?
my mistake. I did not modify build.xml

> - Are the libraries you collected needed by your code? Slide and WCK
> come with all libraries they require...
Slide binary published on the web page 
http://jakarta.apache.org/site/binindex.cgi are all 2.0.
WCK works with 2.2.
What is the correct procedure to get Slide 2.2 comparable jar files? 
Required jar files were listed
in my last email (please see below.)

Thank you very much for help,
Jane


----- Original Message ----- 
From: "Oliver Zeigermann" <ol...@gmail.com>
To: "Slide Users Mailing List" <sl...@jakarta.apache.org>
Sent: Tuesday, November 30, 2004 5:16 AM
Subject: Re: WCK Building Error


>A few questions:
>
> - Which target do you yourself compile to?
> - Why did you modify build.xml?
> - Are the libraries you collected needed by your code? Slide and WCK
> come with all libraries they require...
>
> Oliver
>
> On Tue, 30 Nov 2004 00:16:28 -0500, Jane Zhan@3web.com
> <ja...@3web.com> wrote:
>>
>> I changed the target =1.3. Still getting the same error.  Some of the
>> libraries I am using may not be the right version.
>> But where should I go to get the right version for all the required
>> libraries:
>> <pathelement location="${jta.jar}"/>
>>
>> <pathelement location="${commons-pool.jar}"/>
>>
>> <pathelement location="${commons-transaction.jar}"/>
>>
>> <pathelement location="${slide-kernel.jar}"/>
>>
>> <pathelement location="${slide-jaas.jar}"/>
>>
>> <pathelement location="${slide-stores.jar}"/>
>>
>>  What I have done is:
>>
>> (1) downloaded source code from WCK CVS.
>>
>> (2) got some libraries.  Got the libraries from everywhere .... here may 
>> be
>> the problem
>>
>> (3) modified build.properties, build.xml
>>
>> (4) wrote my own code to glue WebDav to my content mgmt system.
>>
>> (5) Build. Problem as described before.
>>
>> Please help.
>>
>> Thanks,
>> Jane
>>
>>
>> ----- Original Message -----
>> From: "Oliver Zeigermann" <ol...@gmail.com>
>> To: "Slide Users Mailing List" <sl...@jakarta.apache.org>
>> Sent: Friday, November 26, 2004 12:36 PM
>> Subject: Re: WCK Building Error
>>
>> > Maybe it is due to a mismatch of the compile target set in the
>> > build.properties. The sample file for WCK set it to 1.4 and the one
>> > for Slide is 1.3. I will align them...
>> >
>> > Oliver
>> >
>> > On Thu, 25 Nov 2004 15:14:43 -0500, Jane Zhan@3web.com
>> > <ja...@3web.com> wrote:
>> >>  Hi,
>> >>
>> >> I am building WCK with my added custom store to do Tomcat+WCK+my own 
>> >> file
>> >> mgmt system. Can anyone tell me why I am
>> >>
>> >> getting the following error?
>> >>
>> >> Thanks,
>> >>
>> >> Jane
>> >>
>> >> ==============================================================================================
>> >>
>> >> build:
>> >>
>> >> [echo] Building WCK
>> >>
>> >> [javac] Compiling 17 source files to
>> >> D:\eclipse\workspace\webdav\build\classes
>> >>
>> >> BUILD FAILED: java.lang.UnsupportedClassVersionError:
>> >> com/sun/tools/javac/Main (Unsupported major.minor version 49.0)
>> >>
>> >> Total time: 891 milliseconds
>> >>
>> >>
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
>> > For additional commands, e-mail: slide-user-help@jakarta.apache.org
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: WCK Building Error

Posted by Oliver Zeigermann <ol...@gmail.com>.
A few questions:

- Which target do you yourself compile to?
- Why did you modify build.xml?
- Are the libraries you collected needed by your code? Slide and WCK
come with all libraries they require...

Oliver 

On Tue, 30 Nov 2004 00:16:28 -0500, Jane Zhan@3web.com
<ja...@3web.com> wrote:
> 
> I changed the target =1.3. Still getting the same error.  Some of the
> libraries I am using may not be the right version.
> But where should I go to get the right version for all the required
> libraries:
> <pathelement location="${jta.jar}"/>
> 
> <pathelement location="${commons-pool.jar}"/>
> 
> <pathelement location="${commons-transaction.jar}"/>
> 
> <pathelement location="${slide-kernel.jar}"/>
> 
> <pathelement location="${slide-jaas.jar}"/>
> 
> <pathelement location="${slide-stores.jar}"/>
> 
>  What I have done is:
> 
> (1) downloaded source code from WCK CVS.
> 
> (2) got some libraries.  Got the libraries from everywhere .... here may be
> the problem
> 
> (3) modified build.properties, build.xml
> 
> (4) wrote my own code to glue WebDav to my content mgmt system.
> 
> (5) Build. Problem as described before.
> 
> Please help.
> 
> Thanks,
> Jane
> 
> 
> ----- Original Message -----
> From: "Oliver Zeigermann" <ol...@gmail.com>
> To: "Slide Users Mailing List" <sl...@jakarta.apache.org>
> Sent: Friday, November 26, 2004 12:36 PM
> Subject: Re: WCK Building Error
> 
> > Maybe it is due to a mismatch of the compile target set in the
> > build.properties. The sample file for WCK set it to 1.4 and the one
> > for Slide is 1.3. I will align them...
> >
> > Oliver
> >
> > On Thu, 25 Nov 2004 15:14:43 -0500, Jane Zhan@3web.com
> > <ja...@3web.com> wrote:
> >>  Hi,
> >>
> >> I am building WCK with my added custom store to do Tomcat+WCK+my own file
> >> mgmt system. Can anyone tell me why I am
> >>
> >> getting the following error?
> >>
> >> Thanks,
> >>
> >> Jane
> >>
> >> ==============================================================================================
> >>
> >> build:
> >>
> >> [echo] Building WCK
> >>
> >> [javac] Compiling 17 source files to
> >> D:\eclipse\workspace\webdav\build\classes
> >>
> >> BUILD FAILED: java.lang.UnsupportedClassVersionError:
> >> com/sun/tools/javac/Main (Unsupported major.minor version 49.0)
> >>
> >> Total time: 891 milliseconds
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: slide-user-help@jakarta.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: WCK Building Error

Posted by "Jane Zhan@3web.com" <ja...@3web.com>.
I changed the target =1.3. Still getting the same error.  Some of the 
libraries I am using may not be the right version.
But where should I go to get the right version for all the required 
libraries:
<pathelement location="${jta.jar}"/>

<pathelement location="${commons-pool.jar}"/>

<pathelement location="${commons-transaction.jar}"/>

<pathelement location="${slide-kernel.jar}"/>

<pathelement location="${slide-jaas.jar}"/>

<pathelement location="${slide-stores.jar}"/>

 What I have done is:

(1) downloaded source code from WCK CVS.

(2) got some libraries.  Got the libraries from everywhere .... here may be 
the problem

(3) modified build.properties, build.xml

(4) wrote my own code to glue WebDav to my content mgmt system.

(5) Build. Problem as described before.

Please help.

Thanks,
Jane
----- Original Message ----- 
From: "Oliver Zeigermann" <ol...@gmail.com>
To: "Slide Users Mailing List" <sl...@jakarta.apache.org>
Sent: Friday, November 26, 2004 12:36 PM
Subject: Re: WCK Building Error


> Maybe it is due to a mismatch of the compile target set in the
> build.properties. The sample file for WCK set it to 1.4 and the one
> for Slide is 1.3. I will align them...
>
> Oliver
>
> On Thu, 25 Nov 2004 15:14:43 -0500, Jane Zhan@3web.com
> <ja...@3web.com> wrote:
>>  Hi,
>>
>> I am building WCK with my added custom store to do Tomcat+WCK+my own file 
>> mgmt system. Can anyone tell me why I am
>>
>> getting the following error?
>>
>> Thanks,
>>
>> Jane
>>
>> ==============================================================================================
>>
>> build:
>>
>> [echo] Building WCK
>>
>> [javac] Compiling 17 source files to 
>> D:\eclipse\workspace\webdav\build\classes
>>
>> BUILD FAILED: java.lang.UnsupportedClassVersionError: 
>> com/sun/tools/javac/Main (Unsupported major.minor version 49.0)
>>
>> Total time: 891 milliseconds
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: WCK Building Error

Posted by Oliver Zeigermann <ol...@gmail.com>.
Maybe it is due to a mismatch of the compile target set in the
build.properties. The sample file for WCK set it to 1.4 and the one
for Slide is 1.3. I will align them...

Oliver

On Thu, 25 Nov 2004 15:14:43 -0500, Jane Zhan@3web.com
<ja...@3web.com> wrote:
>  Hi,
> 
> I am building WCK with my added custom store to do Tomcat+WCK+my own file mgmt system. Can anyone tell me why I am
> 
> getting the following error?
> 
> Thanks,
> 
> Jane
> 
> ==============================================================================================
> 
> build:
> 
> [echo] Building WCK
> 
> [javac] Compiling 17 source files to D:\eclipse\workspace\webdav\build\classes
> 
> BUILD FAILED: java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main (Unsupported major.minor version 49.0)
> 
> Total time: 891 milliseconds
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org