ajanata / PretendYoureXyzzy

A web clone of the card game Cards Against Humanity.
https://pretendyoure.xyz/zy
BSD 2-Clause "Simplified" License
1.23k stars 396 forks source link

"The type javax.inject.Provider cannot be resolved." When importing project in eclipse. #50

Closed CatmanIX closed 11 years ago

CatmanIX commented 11 years ago

Trying to build a war so I can setup my own (private-ish) PYX/CAH site. I seem to be able to build the archive with ant just fine, but when I try to deploy it in tomcat i get a failure stating that the application could not be started.

The only thing i can look at as to why it's not working is the errors reported in eclipse when importing the project referring to the lack of a class file for "javax.inject.Provider" which is apparently referenced by other required class files.

I'm not entirely sure what I'm doing, I don't work with java much and I've never really used eclipse, so it's likely I'm just fucking everything up. Any insight as to what exactly I'm doing wrong?

CatmanIX commented 11 years ago

Looks like my eclipse install was all messed up, got a new one and it builds/deploys fine.

patton15 commented 10 years ago

excuse me, how did you solve this problem? I am having the same issue and I cannot figure out why eclipse is giving me errors.

CatmanIX commented 10 years ago

I redownloaded the java specific eclipse setup and it just worked. Can't really help you beyond that.