Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC java api 6.0.5 TeamPlatform.startup() error with Spring application

 Hello,


I am using RTC java client api 6.0.5

I am able to connect to RTC and fetch items and things when running as standalone application .But when running same code in Spring web application getting error

java.lang.IllegalAccessError: tried to access class javax.xml.parsers.FactoryFinder from class javax.xml.parsers.SAXParserFactory

16:34:48,390 INFO  [stdout] (http-localhost/127.0.0.1:8080-6) at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)

16:34:48,390 INFO  [stdout] (http-localhost/127.0.0.1:8080-6) at org.eclipse.core.runtime.spi.RegistryStrategy.getXMLParser(RegistryStrategy.java:382)

16:34:48,391 INFO  [stdout] (http-localhost/127.0.0.1:8080-6) at org.eclipse.core.internal.registry.ExtensionRegistry.addContribution(ExtensionRegistry.java:1062)

16:34:48,391 INFO  [stdout] (http-localhost/127.0.0.1:8080-6) at com.ibm.team.repository.common.internal.util.StandaloneExtensionRegistry.processPlugin(StandaloneExtensionRegistry.java:140)

16:34:48,391 INFO  [stdout] (http-localhost/127.0.0.1:8080-6) at com.ibm.team.repository.common.internal.util.StandaloneExtensionRegistry.<init>(StandaloneExtensionRegistry.java:107)

16:34:48,392 INFO  [stdout] (http-localhost/127.0.0.1:8080-6) at com.ibm.team.repository.common.internal.util.InternalTeamPlatform.initializeRegistry(InternalTeamPlatform.java:249)

16:34:48,392 INFO  [stdout] (http-localhost/127.0.0.1:8080-6) at com.ibm.team.repository.common.internal.util.InternalTeamPlatform.start(InternalTeamPlatform.java:107)

16:34:48,392 INFO  [stdout] (http-localhost/127.0.0.1:8080-6) at com.ibm.team.repository.client.TeamPlatform.startup(TeamPlatform.java:50)

16:34:48,392 INFO  [stdout] (http-localhost/127.0.0.1:8080-6) at com.rtc.ConnectRTC.<clinit>(ConnectRTC.java:24)


try {
TeamPlatform.startup(); //connectRTC.java line 24
}
catch(Exception ex)
{
ex.printStackTrace();
}

0 votes


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Oct 10 '18, 7:14 a.m.

Question was seen: 1,548 times

Last updated: Oct 10 '18, 7:14 a.m.

Confirmation Cancel Confirm