我一直在尝试使用JDeveloper中的教程运行一个简单的应用程序。 我被要求使用新的用户名和密码运行我创建的.jsf页面。 经过很长时间的等待(大约3分钟)后,我一次又一次地得到同样的错误: 构建默认域时发生错误。 有关更多详细信息,请参阅此日志文件:
日志文件:
C:\Users\skatz\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\o.j2ee.adrs\BuildDefaultDomain.log
Label: JDEVADF_12.1.2.0.0_GENERIC_130608.2330.6668
Product Home: D:\JDeveloper\jdeveloper\jdev\
Domain: C:\Users\skatz\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\DefaultDomain
BuildDefaultDomain1.py 2014-03-22 18:37:04
cmd.exe /c ""D:\JDeveloper\oracle_common\common\bin\wlst.cmd" "C:\Users\skatz\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\o.j2ee.adrs\BuildDefaultDomain1.py""
Process started
wlst >
wlst > Initializing WebLogic Scripting Tool (WLST) ...
wlst >
wlst > Welcome to WebLogic Server Administration Scripting Shell
wlst >
wlst > Type help() for help on available commands
wlst >
wlst > Creating Default Domain
wlst > [progress] Reading template: /D:/JDeveloper/wlserver/common/templates/wls/wls.jar
wlst > Setting Name to 'DefaultServer'
wlst > Setting ListenAddress to ''
wlst > Setting ListenPort to 7101
wlst > Enabling SSL using port 7102
wlst > Setting domain administrator to 'weblogic'
wlst > Setting domain password.
wlst > [progress] Writing domain: /C:/Users/skatz/AppData/Roaming/JDeveloper/system12.1.2.0.40.66.68/DefaultDomain/
wlst > [progress] Closing template.
wlst > [progress] Reading domain: /C:/Users/skatz/AppData/Roaming/JDeveloper/system12.1.2.0.40.66.68/DefaultDomain/
wlst > [progress] Adding domain extension template: /D:/JDeveloper/jdeveloper/common/templates/jdeveloper/adrs_template.jar
wlst > [progress] Updating domain.
wlst > [progress] Adding domain extension template: /D:/JDeveloper/jdeveloper/common/templates/domains/jsf_template_2.1.jar
wlst > [progress] Updating domain.
wlst > [progress] Adding domain extension template: /D:/JDeveloper/oracle_common/common/templates/wls/oracle.jrf_template_12.1.2.jar
wlst > [progress] Updating domain.
wlst > [progress] Adding domain extension template: /D:/JDeveloper/jdeveloper/common/templates/jdeveloper/adf.fine.logging_12.1.2.jar
wlst > [progress] Updating domain.
wlst > [progress] Adding domain extension template: /D:/JDeveloper/oracle_common/common/templates/wls/oracle.wsmpm_template_12.1.2.jar
wlst > [progress] Updating domain.
wlst > Error: updateDomain() failed. Do dumpStack() to see details.
wlst > Problem invoking WLST - Traceback (innermost last):
wlst > File "C:\Users\skatz\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\o.j2ee.adrs\BuildDefaultDomain1.py", line 112, in ?
wlst > File "C:\Users\skatz\AppData\Local\Temp\WLSTOfflineIni2422634498251540366.py", line 103, in updateDomain
wlst >
wlst > Domain Location: C:\Users\skatz\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\DefaultDomain
wlst >
wlst > Reason: Unable to create xml parser
wlst >
wlst > Exception:
wlst >
wlst > Unable to create xml parser
wlst >
wlst >
wlst > at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:55)
wlst >
wlst > at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1967)
wlst >
wlst > at com.oracle.cie.domain.script.jython.WLScriptContext.updateDomain(WLScriptContext.java:604)
wlst >
wlst > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
wlst >
wlst > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
wlst >
wlst > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
wlst >
wlst > at java.lang.reflect.Method.invoke(Method.java:601)
wlst >
wlst >
wlst > com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.ScriptException: Domain Extension Application Failed!
wlst >
wlst > Domain Location: C:\Users\skatz\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\DefaultDomain
wlst >
wlst > Reason: Unable to create xml parser
wlst >
wlst > Exception:
wlst >
wlst > Unable to create xml parser
wlst >
wlst >
Elapsed time: 106738 ms
我的第一个猜测是这一行 - 无法创建xml解析器,尽管几乎没有关于Web中xml解析器创建失败的信息。 我错过了什么?
提前致谢。
答案 0 :(得分:1)
删除目录 - C:\ Users \ skatz \ AppData \ Roaming \ JDeveloper \ system12.1.2.0.40.66.68 \ DefaultDomain
确保您的CLASSPATH环境变量为空
再试一次
答案 1 :(得分:0)
这是jdeveloper中的一个错误,有时当加载某些应用程序的项目组件时出现卡住线程时,你的jdev甚至都不会启动。
简单的解决方案是转到这个文件夹 - C:\ Users \用户skatz \应用程序数据\漫游\ JDeveloper中\ system12.1.2.0.40.66.68 \
删除它。并关闭jdev并重新启动它,它将重新创建jdev缓存和应用程序数据,因此打开它需要一些时间。但它会解决你的问题。
请注意,执行此操作会删除您的jdev prefrences数据。
最好的问候