Teamcenter二次开发的问题
Eclipse里面启动teamcenter的时候总是爆出WARN:16:44:16,416-TcLogger$IC_PrintStream.log:?teamcenter...
Eclipse里面启动teamcenter的时候总是爆出
WARN : 16:44:16,416 - TcLogger$IC_PrintStream.log:?
teamcenter打开时出现如下错误
ERROR: 16:44:26,081 - TcLogger$IC_PrintStream.logButCheckForException:?
java.lang.UnsatisfiedLinkError
java.lang.UnsatisfiedLinkError: no FCCJavaClientProxy64 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at com.teamcenter.fms.clientcache.proxy.FileCacheProxy.<clinit>(FileCacheProxy.java:249)
at com.teamcenter.rac.kernel.FCCDelegate.<init>(Unknown Source)
at com.teamcenter.rac.kernel.FMSDelegateFactory.createFCCDelegate(Unknown Source)
at com.teamcenter.rac.kernel.FmsFileCacheProxy.<clinit>(Unknown Source)
at com.teamcenter.rac.kernel.TCSession.startTCSession(Unknown Source)
at com.teamcenter.rac.kernel.TCSession.login(Unknown Source)
at com.teamcenter.rac.kernel.TCLoginJob.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
ERROR: 16:44:26,081 - TcLogger$IC_PrintStream.logButCheckForException:?
com.teamcenter.fms.util.FMSException
com.teamcenter.fms.util.FMSException: Could not open FCCJavaClientProxy library (FCCJavaClientProxy64). Make sure FMS_HOME is set properly.
at com.teamcenter.fms.clientcache.proxy.FileCacheProxy.generateLocalFMSException(FileCacheProxy.java:911)
at com.teamcenter.fms.clientcache.proxy.FileCacheProxy.<clinit>(FileCacheProxy.java:266)
at com.teamcenter.rac.kernel.FCCDelegate.<init>(Unknown Source)
at com.teamcenter.rac.kernel.FMSDelegateFactory.createFCCDelegate(Unknown Source)
at com.teamcenter.rac.kernel.FmsFileCacheProxy.<clinit>(Unknown Source)
at com.teamcenter.rac.kernel.TCSession.startTCSession(Unknown Source)
at com.teamcenter.rac.kernel.TCSession.login(Unknown Source)
at com.teamcenter.rac.kernel.TCLoginJob.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
ERROR: 16:44:26,082 - FCCDelegate.notifyTerminalResourceError:?
FCC 接口未能初始化。
求解决办法 展开
WARN : 16:44:16,416 - TcLogger$IC_PrintStream.log:?
teamcenter打开时出现如下错误
ERROR: 16:44:26,081 - TcLogger$IC_PrintStream.logButCheckForException:?
java.lang.UnsatisfiedLinkError
java.lang.UnsatisfiedLinkError: no FCCJavaClientProxy64 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at com.teamcenter.fms.clientcache.proxy.FileCacheProxy.<clinit>(FileCacheProxy.java:249)
at com.teamcenter.rac.kernel.FCCDelegate.<init>(Unknown Source)
at com.teamcenter.rac.kernel.FMSDelegateFactory.createFCCDelegate(Unknown Source)
at com.teamcenter.rac.kernel.FmsFileCacheProxy.<clinit>(Unknown Source)
at com.teamcenter.rac.kernel.TCSession.startTCSession(Unknown Source)
at com.teamcenter.rac.kernel.TCSession.login(Unknown Source)
at com.teamcenter.rac.kernel.TCLoginJob.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
ERROR: 16:44:26,081 - TcLogger$IC_PrintStream.logButCheckForException:?
com.teamcenter.fms.util.FMSException
com.teamcenter.fms.util.FMSException: Could not open FCCJavaClientProxy library (FCCJavaClientProxy64). Make sure FMS_HOME is set properly.
at com.teamcenter.fms.clientcache.proxy.FileCacheProxy.generateLocalFMSException(FileCacheProxy.java:911)
at com.teamcenter.fms.clientcache.proxy.FileCacheProxy.<clinit>(FileCacheProxy.java:266)
at com.teamcenter.rac.kernel.FCCDelegate.<init>(Unknown Source)
at com.teamcenter.rac.kernel.FMSDelegateFactory.createFCCDelegate(Unknown Source)
at com.teamcenter.rac.kernel.FmsFileCacheProxy.<clinit>(Unknown Source)
at com.teamcenter.rac.kernel.TCSession.startTCSession(Unknown Source)
at com.teamcenter.rac.kernel.TCSession.login(Unknown Source)
at com.teamcenter.rac.kernel.TCLoginJob.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
ERROR: 16:44:26,082 - FCCDelegate.notifyTerminalResourceError:?
FCC 接口未能初始化。
求解决办法 展开
2个回答
展开全部
点击Eclipse的菜单栏中的Run->Run Configurations,选择你为Teamcenter定制的Eclipse Application,然后选择Environment选显卡,添加环境变量PATH,这个PATH的路径非常重要,
FMS_HOME=C:\Siemens\Teamcenter8\fcc
PATH=%FMS_HOME%\bin;%FMS_HOME%\lib;%TPR%;%PATH%
你需要把PATH值中的FMS_HOME修改为C:\Siemens\Teamcenter8\fcc,不能使用%FMS_HOME%代替;
修改之后的
PATH=C:\Siemens\Teamcenter8\fcc\bin;C:\Siemens\Teamcenter8\fcc\lib;%TPR%;%PATH%
FMS_HOME=C:\Siemens\Teamcenter8\fcc
PATH=%FMS_HOME%\bin;%FMS_HOME%\lib;%TPR%;%PATH%
你需要把PATH值中的FMS_HOME修改为C:\Siemens\Teamcenter8\fcc,不能使用%FMS_HOME%代替;
修改之后的
PATH=C:\Siemens\Teamcenter8\fcc\bin;C:\Siemens\Teamcenter8\fcc\lib;%TPR%;%PATH%
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |