报错1
eclispe启动PD时报错:
Can’t load IA 32-bit .dll on a AMD 64-bit platform
详细如下:
Exception in thread "Thread-0" java.lang.UnsatisfiedLinkError: C:\.FTPC\YCLJMES_DEV\ProductionCentre\client\RNNativeLibsWin32.jar\jdic.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at com.datasweep.compatibility.buildtime.Buildtime$90.run(Unknown Source)
这是因为使用了64位的jdk,需要更换为32位的jdk
报错2
eclispe启动PD时报错:Premature end of file.
详情如下:
严重: ActivityList.loadClientActivities error:Parsing Error : Premature end of file.
Line : -1
Column : -1
通常有两种情况会导致这种错误:
第一种:被解析的内容为空字符串
第二种:被解析的内容只有一行如:<?xml version=”1.0″ encoding=”UTF-8″?>
检查"C:\Users\xxx\AppData\Roaming\Rockwell Automation\FactoryTalk ProductionCentre\jars\ProcessDesigner\AddOnInfo.xml" 是否正常,
如果为空,复制文件"C:.FTPC\ProductionCentre\jars\ProcessDesigner\AddOnInfo.xml"
覆盖原先的文件。