Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » problem of java project,error of javaxpcomglue.dll from mozilla;(a error from mozilla)
icon5.gif  problem of java project,error of javaxpcomglue.dll from mozilla; [message #817117] Fri, 09 March 2012 16:55
wang jianen is currently offline wang jianenFriend
Messages: 1
Registered: March 2012
Junior Member
when i run the java project on window7's eclipse,it was work well,
however,when i run the java project by eclipse on a another computer whose OS is window server 2003,it comes to error.
the jdk is configurated well,and the jar is imported well~~

some of my source file is :
import org.watij.webspec.dsl.Tag;
import org.watij.webspec.dsl.WebSpec;
public static void main(String[] args) throws Exception {
WebSpec ws = new WebSpec().mozilla();//the error is from this sentence
}

the information of error is:

log4j:WARN No appenders could be found for logger (com.jniwrapper.DefaultLibraryLoader).
log4j:WARN Please initialize the log4j system properly.

Exception in thread "XpcMessageLoop" java.lang.UnsatisfiedLinkError: C:\Documents and Settings\Administrator\.JxBrowser\xulrunner-windows-version-1.9.2\xulrunner-windows\javaxpcomglue.dll: Due to the application configuration is not correct, the application fails to start to reinstall the application may to correct the problem


at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at org.mozilla.xpcom.internal.JavaXPCOMMethods.registerJavaXPCOMMethods(JavaXPCOMMethods.java:57)
at org.mozilla.xpcom.internal.MozillaImpl.initialize(MozillaImpl.java:48)
at org.mozilla.xpcom.Mozilla.initialize(Mozilla.java:668)
at com.teamdev.xpcom.a.a(Unknown Source)
at com.teamdev.xpcom.b$b.run(Unknown Source)

Exception in thread "main" java.lang.UnsatisfiedLinkError: org.mozilla.xpcom.internal.XPCOMImpl.getServiceManager()Lorg/mozilla/interfaces/nsIServiceManager;
at org.mozilla.xpcom.internal.XPCOMImpl.getServiceManager(Native Method)
at org.mozilla.xpcom.Mozilla.getServiceManager(Mozilla.java:867)
at com.teamdev.xpcom.util.ProxyManager.<init>(Unknown Source)
at com.teamdev.xpcom.util.ProxyManager.getInstance(Unknown Source)
at com.teamdev.xpcom.b.invokeLater(Unknown Source)
at com.teamdev.xpcom.Xpcom.invokeLater(Unknown Source)
at com.teamdev.jxbrowser1.impl.a.a.<init>(Unknown Source)
at com.teamdev.jxbrowser1.console.ConsoleService.getConsoleService(Unknown Source)
at com.teamdev.jxbrowser.mozilla.MozillaScriptErrorWatcher.<init>(Unknown Source)
at com.teamdev.jxbrowser.mozilla.MozillaScriptErrorWatcher.getInstance(Unknown Source)
at com.teamdev.jxbrowser.mozilla.MozillaBrowserFactory.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.teamdev.jxbrowser.BrowserFactory$a.a(Unknown Source)
at com.teamdev.jxbrowser.BrowserFactory.createBrowser(Unknown Source)
at org.watij.webspec.dsl.WebSpec.mozilla(WebSpec.java:267)
at com.zhiweizhang.crawler.WatijCrawler.main(WatijCrawl Smile er.java:31)

Previous Topic:downloading plugins from Papyrus SVN repository
Next Topic:return codes
Goto Forum:
  


Current Time: Fri Apr 19 12:14:16 GMT 2024

Powered by FUDForum. Page generated in 0.03067 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top