See http://code.google.com/p/google-guice/wiki/Guice30#JSR_330 .
sam On Sat, Apr 2, 2011 at 2:23 PM, James Moore <[email protected]> wrote: > On Fri, Apr 1, 2011 at 10:52 AM, Simone Tripodi > <[email protected]> wrote: > > Hi James, > > for what I can see you just need to import the javax.inject APIs, if > > you're a Maven user you just need to add the dependency[1] otherwise > > download the jar and add it in the classpath. > > Thanks, that did the job. > > Did this change between Guice 2.0 and 3.0? I just tried 2.0, and I > can take the same code, use the 2.0 jar, and it doesn't crash. The > 3.0 jar crashes unless I also include the javax.inject-1.jar that > Simone pointed me to. > > -- > James Moore > [email protected] > http://jamesmoorecode.blogspot.com/ > > -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-guice?hl=en. > > -- You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.
