microsoft / team-explorer-everywhere

Team Explorer Everywhere Plugin for Eclipse
Other
300 stars 96 forks source link

java.lang.ClassNotFoundException: com.microsoft.alm.visualstudio.services.webapi.ApiResourceVersion$Version #268

Closed ketan closed 2 years ago

ketan commented 6 years ago

It seems that the latest TFS SDK (14.134.0) does not package the said class, loading the TFSTeamProjectCollection class seems to load the superclass TFSConnection which references com.microsoft.alm.visualstudio.services.webapi.ApiResourceVersion.Version

The sdk jar does not contain the said class.

armchairdeity commented 6 years ago

Hey dude... this class is provided by one of the other downloads in the project... if you download and unpack TEE-CLC-14.134.0.zip, you'll find the Visual Studio client in alm-vss-client-15.105.0-SNAPSHOT.jar in the lib folder. com.microsoft.alm.visualstudio.services.webapi.ApiResourceVersion.Version is part of that package.

Just drop that jar in your class path and you should be good... at least on this error message.

ketan commented 6 years ago

Are there other jars I should drop in? I used to be able to run this thing with a single jar earlier.

eric-milles commented 2 years ago

There are transitive dependencies in some of the plugins:

image

There are also transitive dependencies of these in a couple cases. For example, slf4j jars in the core project.