在Eclipse中配置Teamcenter二次开发环境时候debug,Tteamcenter不能正常登录

现象:

配置好Eclipse的Teamcenter开发环境后,运行debug模式,报错,并且不能登录成功

在Eclipse中配置Teamcenter二次开发环境时候debug,Tteamcenter不能正常登录_第1张图片

在Eclipse中配置Teamcenter二次开发环境时候debug,Tteamcenter不能正常登录_第2张图片


控制台报错如下:

!SESSION 2016-04-06 17:01:51.456 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_51
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments:  -product com.teamcenter.rac.aifrcp.product
Command-line arguments:  -product com.teamcenter.rac.aifrcp.product -data C:\workspace/../runtime-EclipseApplication -dev file:C:/workspace/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog


!ENTRY com.teamcenter.rac.common 4 0 2016-04-06 17:01:55.575
!MESSAGE [SCR] 在绑定包内发现名称重复的组件!此组件将不予处理:Component[
name = com.teamcenter.rac.common
activate = activate
deactivate = deactivate
modified = 
configuration-policy = optional
factory = null
autoenable = true
immediate = false
implementation = com.teamcenter.rac.common.UserExportDirRemover
state = Unsatisfied
properties = {event.topics=com/teamcenter/rac/aifrcp/event/Session/Logout/Post}
serviceFactory = false
serviceInterface = [org.osgi.service.event.EventHandler]
references = null
located in bundle = com.teamcenter.rac.common_10000.1.0 [228]



!ENTRY com.teamcenter.rac.common 4 0 2016-04-06 17:01:55.575
!MESSAGE [SCR] 在绑定包内发现名称重复的组件!此组件将不予处理:Component[
name = com.teamcenter.rac.common
activate = activate
deactivate = deactivate
modified = 
configuration-policy = optional
factory = null
autoenable = true
immediate = false
implementation = com.teamcenter.rac.common.UserExportDirRemover
state = Unsatisfied
properties = {event.topics=com/teamcenter/rac/aifrcp/event/Session/Logout/Post}
serviceFactory = false
serviceInterface = [org.osgi.service.event.EventHandler]
references = null
located in bundle = com.teamcenter.rac.common_10000.1.0 [228]



!ENTRY com.teamcenter.rac.contextmenusuppression 4 0 2016-04-06 17:01:55.668
!MESSAGE [SCR] 组件定义 XML 在绑定包 com.teamcenter.rac.contextmenusuppression 中找不到。组件标题值为 OSGI-INF/xmlReader.xml


!ENTRY com.teamcenter.rac.contextmenusuppression 4 0 2016-04-06 17:01:55.668
!MESSAGE [SCR] 组件定义 XML 在绑定包 com.teamcenter.rac.contextmenusuppression 中找不到。组件标题值为 OSGI-INF/xmlReader.xml


!ENTRY com.teamcenter.rac.qualifications 4 0 2016-04-06 17:01:56.168
!MESSAGE [SCR] 组件定义 XML 在绑定包 com.teamcenter.rac.qualifications 中找不到。组件标题值为 OSGI-INF/QualificationsService.xml


!ENTRY com.teamcenter.rac.qualifications 4 0 2016-04-06 17:01:56.168
!MESSAGE [SCR] 组件定义 XML 在绑定包 com.teamcenter.rac.qualifications 中找不到。组件标题值为 OSGI-INF/QualificationsService.xml


!ENTRY com.teamcenter.rac.qualifications 4 0 2016-04-06 17:01:56.168
!MESSAGE [SCR] 组件定义 XML 在绑定包 com.teamcenter.rac.qualifications 中找不到。组件标题值为 OSGI-INF/QualificationsServices.xml


!ENTRY com.teamcenter.rac.qualifications 4 0 2016-04-06 17:01:56.168
!MESSAGE [SCR] 组件定义 XML 在绑定包 com.teamcenter.rac.qualifications 中找不到。组件标题值为 OSGI-INF/QualificationsServices.xml


!ENTRY org.apache.xmlgraphics.commons 4 0 2016-04-06 17:01:56.792
!MESSAGE [SCR] 组件定义 XML 在绑定包 org.apache.xmlgraphics.commons 中找不到。组件标题值为 OSGI-INF/ServiceStore.xml


!ENTRY org.apache.xmlgraphics.commons 4 0 2016-04-06 17:01:56.792
!MESSAGE [SCR] 组件定义 XML 在绑定包 org.apache.xmlgraphics.commons 中找不到。组件标题值为 OSGI-INF/ServiceStore.xml


!ENTRY org.apache.xmlgraphics.commons 4 0 2016-04-06 17:01:56.792
!MESSAGE [SCR] 组件定义 XML 在绑定包 org.apache.xmlgraphics.commons 中找不到。组件标题值为 OSGI-INF/ImageConverterBuffered2Rendered.xml


!ENTRY org.apache.xmlgraphics.commons 4 0 2016-04-06 17:01:56.792
!MESSAGE [SCR] 组件定义 XML 在绑定包 org.apache.xmlgraphics.commons 中找不到。组件标题值为 OSGI-INF/ImageConverterBuffered2Rendered.xml


!ENTRY org.eclipse.osgi 2 0 2016-04-06 17:01:59.662
!MESSAGE 一个或多个绑定包未解析,因为以下根约束未解析:
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-04-06 17:01:59.662
!MESSAGE 绑定包 reference:file:/C:/PLM/Siemens/Teamcenter10/portal/plugins/Sci0SoaIMDSIntegrationRac_10000.1.0.jar 未解析。
!SUBENTRY 2 Sci0SoaIMDSIntegrationRac 2 0 2016-04-06 17:01:59.662
!MESSAGE 缺少必需的绑定包 Sci0SoaIMDSIntegrationTypes_0.0.0。
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-04-06 17:01:59.662
!MESSAGE 绑定包 reference:file:/C:/PLM/Siemens/Teamcenter10/portal/plugins/org.eclipse.compare_3.5.300.v20120522-1148.jar 未解析。
!SUBENTRY 2 org.eclipse.compare 2 0 2016-04-06 17:01:59.662
!MESSAGE 缺少必需的绑定包 org.eclipse.ui.editors_[3.5.0,4.0.0)。
!SUBENTRY 2 org.eclipse.compare 2 0 2016-04-06 17:01:59.662
!MESSAGE 缺少必需的绑定包 org.eclipse.ui.ide_[3.3.0,4.0.0)。
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-04-06 17:01:59.662
!MESSAGE 绑定包 reference:file:/C:/PLM/Siemens/Teamcenter10/portal/plugins/org.eclipse.core.externaltools_1.0.100.v20120521-2012.jar 未解析。
!SUBENTRY 2 org.eclipse.core.externaltools 2 0 2016-04-06 17:01:59.662
!MESSAGE 缺少必需的绑定包 org.eclipse.debug.core_[3.6.0,4.0.0)。
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-04-06 17:01:59.662
!MESSAGE 绑定包 reference:file:/C:/PLM/Siemens/Teamcenter10/portal/plugins/org.eclipse.ui.win32_3.2.300.v20120523-1956.jar 未解析。
!SUBENTRY 2 org.eclipse.ui.win32 2 0 2016-04-06 17:01:59.662
!MESSAGE 缺少主机 org.eclipse.ui.ide_[3.2.0,4.0.0)。
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-04-06 17:01:59.662
!MESSAGE 绑定包 reference:file:/C:/PLM/Siemens/Teamcenter10/portal/plugins/org.eclipse.platform_3.8.0.v201206081200/ 未解析。
!SUBENTRY 2 org.eclipse.platform 2 0 2016-04-06 17:01:59.662
!MESSAGE 缺少必需的绑定包 org.eclipse.ui.intro_[3.2.0,4.0.0)。
!SUBENTRY 2 org.eclipse.platform 2 0 2016-04-06 17:01:59.662
!MESSAGE 缺少所需功能 Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))"。
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-04-06 17:01:59.662
!MESSAGE 绑定包 reference:file:/C:/PLM/Siemens/Teamcenter10/portal/plugins/org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20110808-1657.jar 未解析。
!SUBENTRY 2 org.eclipse.equinox.simpleconfigurator.manipulator 2 0 2016-04-06 17:01:59.662
!MESSAGE 缺少导入的包 org.eclipse.equinox.internal.frameworkadmin.equinox_0.0.0。
!SUBENTRY 2 org.eclipse.equinox.simpleconfigurator.manipulator 2 0 2016-04-06 17:01:59.662
!MESSAGE 缺少导入的包 org.eclipse.equinox.internal.provisional.frameworkadmin_0.0.0。
!SUBENTRY 2 org.eclipse.equinox.simpleconfigurator.manipulator 2 0 2016-04-06 17:01:59.662
!MESSAGE 缺少所需功能 Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.1))(&(osgi.ee=JavaSE)(version=1.4)))"。
!SUBENTRY 2 org.eclipse.equinox.simpleconfigurator.manipulator 2 0 2016-04-06 17:01:59.662
!MESSAGE 缺少导入的包 org.eclipse.equinox.internal.provisional.configuratormanipulator_0.0.0。
!SUBENTRY 2 org.eclipse.equinox.simpleconfigurator.manipulator 2 0 2016-04-06 17:01:59.678
!MESSAGE 缺少导入的包 org.eclipse.equinox.frameworkadmin_[2.0.0,3.0.0)。
!SUBENTRY 2 org.eclipse.equinox.simpleconfigurator.manipulator 2 0 2016-04-06 17:01:59.678
!MESSAGE 缺少导入的包 org.eclipse.equinox.internal.frameworkadmin.utils_0.0.0。


!ENTRY org.eclipse.osgi 2 0 2016-04-06 17:01:59.702
!MESSAGE 以下是未解析绑定包的完整列表,请查看先前的日志条目以了解可能的根本原因:
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-04-06 17:01:59.702
!MESSAGE 绑定包 Sci0SoaIMDSIntegrationRac_10000.1.0 [55] 未解析。
!SUBENTRY 2 Sci0SoaIMDSIntegrationRac 2 0 2016-04-06 17:01:59.702
!MESSAGE 缺少必需的绑定包 Sci0SoaIMDSIntegrationTypes_0.0.0。
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-04-06 17:01:59.702
!MESSAGE 绑定包 org.eclipse.compare_3.5.300.v20120522-1148 [374] 未解析。
!SUBENTRY 2 org.eclipse.compare 2 0 2016-04-06 17:01:59.702
!MESSAGE 缺少必需的绑定包 org.eclipse.ui.ide_[3.3.0,4.0.0)。
!SUBENTRY 2 org.eclipse.compare 2 0 2016-04-06 17:01:59.702
!MESSAGE 缺少必需的绑定包 org.eclipse.ui.editors_[3.5.0,4.0.0)。
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-04-06 17:01:59.702
!MESSAGE 绑定包 org.eclipse.compare.win32_1.0.200.v20120522-1148 [376] 未解析。
!SUBENTRY 2 org.eclipse.compare.win32 2 0 2016-04-06 17:01:59.702
!MESSAGE 缺少必需的绑定包 org.eclipse.compare_[3.5.0,4.0.0)。
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-04-06 17:01:59.702
!MESSAGE 绑定包 org.eclipse.core.externaltools_1.0.100.v20120521-2012 [392] 未解析。
!SUBENTRY 2 org.eclipse.core.externaltools 2 0 2016-04-06 17:01:59.702
!MESSAGE 缺少必需的绑定包 org.eclipse.debug.core_[3.6.0,4.0.0)。
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-04-06 17:01:59.702
!MESSAGE 绑定包 org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20110808-1657 [442] 未解析。
!SUBENTRY 2 org.eclipse.equinox.simpleconfigurator.manipulator 2 0 2016-04-06 17:01:59.702
!MESSAGE 缺少导入的包 org.eclipse.equinox.frameworkadmin_[2.0.0,3.0.0)。
!SUBENTRY 2 org.eclipse.equinox.simpleconfigurator.manipulator 2 0 2016-04-06 17:01:59.702
!MESSAGE 缺少导入的包 org.eclipse.equinox.internal.frameworkadmin.equinox_0.0.0。
!SUBENTRY 2 org.eclipse.equinox.simpleconfigurator.manipulator 2 0 2016-04-06 17:01:59.702
!MESSAGE 缺少导入的包 org.eclipse.equinox.internal.frameworkadmin.utils_0.0.0。
!SUBENTRY 2 org.eclipse.equinox.simpleconfigurator.manipulator 2 0 2016-04-06 17:01:59.702
!MESSAGE 缺少导入的包 org.eclipse.equinox.internal.provisional.configuratormanipulator_0.0.0。
!SUBENTRY 2 org.eclipse.equinox.simpleconfigurator.manipulator 2 0 2016-04-06 17:01:59.702
!MESSAGE 缺少导入的包 org.eclipse.equinox.internal.provisional.frameworkadmin_0.0.0。
!SUBENTRY 2 org.eclipse.equinox.simpleconfigurator.manipulator 2 0 2016-04-06 17:01:59.702
!MESSAGE 缺少所需功能 Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.1))(&(osgi.ee=JavaSE)(version=1.4)))"。
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-04-06 17:01:59.702
!MESSAGE 绑定包 org.eclipse.platform_3.8.0.v201206081200 [473] 未解析。
!SUBENTRY 2 org.eclipse.platform 2 0 2016-04-06 17:01:59.702
!MESSAGE 缺少必需的绑定包 org.eclipse.ui.intro_[3.2.0,4.0.0)。
!SUBENTRY 2 org.eclipse.platform 2 0 2016-04-06 17:01:59.702
!MESSAGE 缺少可选的必需绑定包 org.eclipse.ui.cheatsheets_[3.2.0,4.0.0)。
!SUBENTRY 2 org.eclipse.platform 2 0 2016-04-06 17:01:59.702
!MESSAGE 缺少所需功能 Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))"。
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-04-06 17:01:59.702
!MESSAGE 绑定包 org.eclipse.ui.win32_3.2.300.v20120523-1956 [491] 未解析。
!SUBENTRY 2 org.eclipse.ui.win32 2 0 2016-04-06 17:01:59.702
!MESSAGE 缺少主机 org.eclipse.ui.ide_[3.2.0,4.0.0)。


分析:

根据报错,应该是没有找到Teamcenter的plugins下面的包导致的


解决:

这些错误是因为Debug Configurations中Run 啊 product选项选错了,配置时候默认是org.eclipse.platform.ide,要手工选择成com.teamcenter.rac.aifrcp.product

在Eclipse中配置Teamcenter二次开发环境时候debug,Tteamcenter不能正常登录_第3张图片

在Eclipse中配置Teamcenter二次开发环境时候debug,Tteamcenter不能正常登录_第4张图片

你可能感兴趣的:(Teamcenter二次开发)