![]() |
|
|||||||
| Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Today's Posts | Search |
| General Discussion For anything which doesn't fit somewhere else (for PHEX users) |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I am trying to run Phex for the first time on Fedora Core 4 and get the following:
[wes@localhost phex_2.6.4.89]$ java -jar phex.jar Exception in thread "FileRescanRunner-117dea0" java.lang.NoClassDefFoundError: while resolving class: com.sun.xml.bind.util.ProxyListImpl at java.lang.VMClassLoader.transformException(java.la ng.Class, java.lang.Throwable) (/usr/lib/libgcj.so.6.0.0) at java.lang.VMClassLoader.resolveClass(java.lang.Cla ss) (/usr/lib/libgcj.so.6.0.0) at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0) at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0) at phex.xml.impl.XJBSecurityImpl._getIpAccessRuleList () (Unknown Source) at phex.xml.impl.XJBSecurityImpl.getIpAccessRuleList( ) (Unknown Source) at phex.security.PhexSecurityManager.loadSecurityRule List() (Unknown Source) at phex.security.PhexSecurityManager.onPostInitializa tion() (Unknown Source) at phex.common.Environment.initializeManagers() (Unknown Source) at phex.Main.main(java.lang.String[]) (Unknown Source) at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0) at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0) Caused by: java.lang.ClassNotFoundException: com.sun.xml.bind.util.ProxyListImpl$1 not found in gnu.gcj.runtime.SystemClassLoader{urls=[file hex.jar,file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}at java.net.URLClassLoader.findClass(java.lang.String ) (/usr/lib/libgcj.so.6.0.0) at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.6.0.0) at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0) at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0) ...11 more Does anyone know how to fix this? Thanks, |
|
#2
|
|||
|
|||
|
Could it be that you are missing jaxb.jar in your Phex directory?
|
|
#3
|
|||
|
|||
|
Thanks for the reply. I checked and i do have the file in the phex dir but i am still having the same errors.
|
|
#4
|
|||
|
|||
|
Try to start the phex.Main together with listing all jars after a -cp (or -classpath) parameter like this:
java -cp jaxb.jar:forms-1.0.5.jar:looks-1.3.1.jar:commons-logging.jar:commons-httpclient-3.0-rc3.jar:phex.jar phex.Main |
|
#5
|
|||
|
|||
|
Still getting errors. The splash screen comes up then the errors:
[wes@localhost phex_2.6.4.89]$ java -cp jaxb.jar:forms-1.0.5.jar:looks-1.3.1.jar:commons-logging.jar:commons-httpclient-3.0-rc3.jar hex.jar phex.MainException in thread "FileRescanRunner-f951e0" java.lang.NoClassDefFoundError: com.sun.xml.bind.util.ListImpl at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0) at phex.xml.impl.XJBSharedLibraryImpl._getSharedFileL ist() (Unknown Source) at phex.xml.impl.XJBSharedLibraryImpl.getSharedFileLi st() (Unknown Source) at phex.share.FileRescanRunner.buildSharedFilesCache( ) (Unknown Source) at phex.share.FileRescanRunner.run() (Unknown Source) at java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0) java.lang.NoClassDefFoundError: while resolving class: com.sun.xml.bind.util.ProxyListImpl at java.lang.VMClassLoader.transformException(java.la ng.Class, java.lang.Throwable) (/usr/lib/libgcj.so.6.0.0) at java.lang.VMClassLoader.resolveClass(java.lang.Cla ss) (/usr/lib/libgcj.so.6.0.0) at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0) at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0) at phex.xml.impl.XJBSecurityImpl._getIpAccessRuleList () (Unknown Source) at phex.xml.impl.XJBSecurityImpl.getIpAccessRuleList( ) (Unknown Source) at phex.security.PhexSecurityManager.loadSecurityRule List() (Unknown Source) at phex.security.PhexSecurityManager.onPostInitializa tion() (Unknown Source) at phex.common.Environment.initializeManagers() (Unknown Source) at phex.Main.main(java.lang.String[]) (Unknown Source) at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0) at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0) Caused by: java.lang.ClassNotFoundException: com.sun.xml.bind.util.ProxyListImpl$1 not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:jaxb.jar,file:./,file:forms-1.0.5.jar,file:looks-1.3.1.jar,file:./,file:commons-logging.jar,file:commons-httpclient-3.0-rc3.jar,file:./,file hex.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}at java.net.URLClassLoader.findClass(java.lang.String ) (/usr/lib/libgcj.so.6.0.0) at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.6.0.0) at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0) at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0) ...11 more [wes@localhost phex_2.6.4.89]$ |
|
#6
|
|||
|
|||
|
What kind of Java version and vendor are you using??
java -version |
|
#7
|
|||
|
|||
|
[wes@localhost ~]$ java -version
java version "1.4.2" gij (GNU libgcj) version 4.0.1 20050727 (Red Hat 4.0.1-5) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [wes@localhost ~]$ |
|
#8
|
||||
|
||||
|
You propably should install JAVA from http://java.sun.com/
because now you are using "java" from GNU that dont work with Phex
|
|
#9
|
|||
|
|||
|
It works!!! Thanks so much for the help
-Wes |
|
#10
|
|||
|
|||
|
Thanks pawelsz. I was having the same problem with FC4, but it's working now.
|
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| error loading bearshare BS wont open. | Animus | BearShare Open Discussion | 0 | October 22nd, 2005 07:31 AM |
| loading error | swann | Windows | 0 | August 14th, 2005 08:02 PM |
| Error loading Limewire | Vasudan | General Windows Support | 4 | October 22nd, 2004 04:14 AM |
| Error Loading | petesdragon | Windows | 0 | March 14th, 2004 09:00 AM |
| Ikernel.exe error when loading limewire | thon | General Windows Support | 9 | August 7th, 2001 11:12 PM |