Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory	at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)	at com.microsoft.tfs.core.ws.runtime.stax.StaxFactoryProvider.getXMLInputFactory(StaxFactoryProvider.java:42)	at com.microsoft.tfs.core.ws.runtime.client.SOAPService.(SOAPService.java:134)	at com.microsoft.tfs.core.config.webservice.DefaultWebServiceFactory.initialize(DefaultWebServiceFactory.java:545)	at com.microsoft.tfs.core.config.webservice.DefaultWebServiceFactory.getWebServiceMetadata(DefaultWebServiceFactory.java:532)	at com.microsoft.tfs.core.config.webservice.DefaultWebServiceFactory.newRegistrationWebService(DefaultWebServiceFactory.java:155)	at com.microsoft.tfs.core.TFSConnection.getWebService(TFSConnection.java:840)	at com.microsoft.tfs.core.clients.registration.RegistrationClient.(RegistrationClient.java:123)	at com.microsoft.tfs.core.clients.registration.RegistrationClient.(RegistrationClient.java:97)	at com.microsoft.tfs.core.config.client.DefaultClientFactory$4.newClient(DefaultClientFactory.java:180)	at com.microsoft.tfs.core.config.client.DefaultClientFactory.newClient(DefaultClientFactory.java:91)	at com.microsoft.tfs.core.TFSConnection.getClient(TFSConnection.java:1470)	at com.microsoft.tfs.core.TFSTeamProjectCollection.getRegistrationClient(TFSTeamProjectCollection.java:348)	at com.microsoft.tfs.core.clients.webservices.IdentityManagementService.(IdentityManagementService.java:64)	at hudson.plugins.tfs.model.Project.getDetailedHistory(Project.java:78)	at hudson.plugins.tfs.actions.CheckoutAction.checkout(CheckoutAction.java:56)	at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:176)	at hudson.model.AbstractProject.checkout(AbstractProject.java:1412)	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:557)	at hudson.model.Run.execute(Run.java:1679)	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:509)	at hudson.model.ResourceController.execute(ResourceController.java:88)	at hudson.model.Executor.run(Executor.java:230)