技术文章 - CS388185
在 Windchill 中使用 psiedit.jar 命令更新“psi_iir.xml”时出错
已修改: 15-May-2023
适用于
- Windchill PDMLink 12.0 to 12.1
说明
- 运行以下命令更新引用CS347220的psi_iir.xml会引发错误
java -jar psiedit.jar --registryfile="<Windchill Installation root folder>/PSI/installer/instreg/<installation registration id>/psi_iir.xml" --oracle2sql
- 错误信息是:
C:\ptc\Windchill_12.0\PSI\installer\instreg>java -jar psiedit.jar --registryfile="C:\ptc\Windchill_12.0\PSI\installer\instreg\ii270aa13c.17adbe47392.-8000" --oracle2sql
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/C:/ptc/Windchill_12.0/PSI/installer/instreg/psiedit.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: groovy.lang.MissingMethodException: No signature of method: org.apache.logging.log4j.core.Logger.removeAllAppenders() is applicable for argument types: () values: []
Possible solutions: removeAppender(org.apache.logging.log4j.core.Appender)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:71)
at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:48)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at com.ptc.windchill.install.suite.iir.editor.psiedit.<clinit>(psiedit.groovy:49)
这是文章 388185 的 PDF 版本,可能已过期。最新版本 CS388185