当使用tomcat调试tc时,记得要先把TAO打开!!!
或者直接进tc中 启动 tomcat.bat 不要直接打开eclipse
下面是bat里面的代码
@echo off
rem
rem TPR is short for TC_PORTAL_ROOT to reduce command line length
title Teamcenter Rich Client
rem set TPR=D:\Siemens\Teamcenter\OTW11\rac
if not defined FMS_HOME set FMS_HOME=D:\Siemens\Teamcenter12\tccs
set PATH=%FMS_HOME%\bin;%FMS_HOME%\lib;%TPR%;%PATH%
set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_151
set JRE_HOME=C:\Program Files\Java\jre1.8.0_151
set CLASSPATH=%TPR%
start "TAO ImR" /min cmd /c "D:\Siemens\Teamcenter12\iiopservers\start_imr.bat"
C:\Users\Administrator\Desktop\eclipse\eclipse.exe -vm "C:\Program Files\Java\jdk1.8.0_151\bin\javaw.exe" -clean