Exactly. That was the problem. I had the sun-java package installed but gij
was overriding it. And removing gij solved the problem.
Thanks a lot Anca.
On Fri, Aug 8, 2008 at 4:13 PM, Anca Paula Luca <ancapaula.luca(a)xwiki.com>wrote;wrote:
Arpit Jain wrote:
"java -version" on my PC gives
java version "1.5.0"
gij (GNU libgcj) version 4.3.1
You could also think about getting a sun java, I remember there were some
issues
with the gcj. Even if it won't fix you this problem, it would definitely
eliminate a couple of future ones.
Look for a sun-java (or java-sun) package in your repositories.
Happy coding,
Anca Luca
And I think, this is what it is using for all the jars.
On Fri, Aug 8, 2008 at 12:46 PM, Pascal Voitot
<pascal.voitot.dev(a)gmail.com>wrote;wrote:
> all jars have been generated with the same Java version?
>
> On Fri, Aug 8, 2008 at 8:36 AM, Arpit Jain <arpitjain11(a)gmail.com>
wrote:
>
>> Hi Ludovic,
>>
>> I found the latest Jar file for cglib from
>>
http://sourceforge.net/project/showfiles.php?group_id=56933
>> and added it to
>>
>>
>
xwiki-product-workspaces/distribution/hsqldb/target/xwiki-workspaces-distribution-hsqldb-1.1-SNAPSHOT/webapps/xwiki/WEB-INF/lib
directory. Still I am getting the same error .
On Fri, Aug 8, 2008 at 2:39 AM, Ludovic Dubost <ludovic(a)xwiki.org>
wrote:
> Hi Arpit,
>
> Looks like the recent hibernate change needs some additional jar
>
> java.lang.NoClassDefFoundError: net.sf.cglib.proxy.Enhancer
>
>
> This looks like a new dependency cglib
>
> Find the lib and add it manually to WEB-INF/lib until this is fixed
> Or use XWiki 1.5 branch if you want a more stable code
>
> Ludovic
>
> Arpit Jain wrote:
>> Hi,
>> I just upgraded my system and before that Xwiki was running fine.
Now,
it
> is
>> giving me error
>>
>> HTTP ERROR: 500
>>
>> Error number 3 in 0: Could not initialize main XWiki context
>> Wrapped Exception: Error number 3001 in 3: Cannot load class
>>
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
>> from param
xwiki.store.migration.manager.class
>> Wrapped Exception: net.sf.cglib.proxy.Enhancer
>>
>> RequestURI=/xwiki/bin/view/XWSAdmin/
>>
>> Complete logs here :
http://pastie.org/249438
>>
>> Please help, it's been more than couple of hours since I am stuck in
> this. I
>> didn't change any configuration during kernel upgrade.
>>
>>
>>
>
> --
> Ludovic Dubost
> Blog:
http://blog.ludovic.org/
> XWiki:
http://www.xwiki.com
> Skype: ldubost GTalk: ldubost
>
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
>
http://lists.xwiki.org/mailman/listinfo/devs
>
--
Arpit Jain
http://www.intinno.com
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs