webtier@glassfish.java.net

Re: [webtier] Servlet 3.0 API & Source Jar

From: Lincoln Baxter, III <lincolnbaxter_at_gmail.com>
Date: Fri, 22 Jan 2010 17:46:42 -0500

Also, the jar provided for this artifact is not fully classloaded, meaning
that I cannot run unit tests against this codebase without also including an
implementation for the packages I require!!! Even if I am not using any
implementation classes.

SEVERE: Begin event threw error
java.lang.ClassFormatError: Absent Code attribute in method that is not
native or abstract in class file javax/faces/event/PhaseId
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
    at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

> <dependency>
> <groupId>javax</groupId>
> <artifactId>javaee-web-api</
artifactId>
> <version>6.0</version>
> <scope>provided</scope>
> </dependency>

Where can I find a jar that is not method-stubbed?

Thanks,
Lincoln


On Thu, Jan 21, 2010 at 6:40 PM, <webtier_at_javadesktop.org> wrote:

> Adding Jan Luehe's response here (some how it did not make it here, though
> he responded to both dev_at_javaserverfaces.dev.java.net and
> webtier_at_glassfish.dev.java.net) :
>
> Hi Lincoln,
> >
> > Hi,
> >
> > I'm trying to work with the new Servlet 3.0 API, but I noticed that the
> > only Maven dependency including Servlet 3.0 is the following group of
> > JEE jars:
> >
> >
> > I could live with this, but there are no Source JARs or JavaDocs
> > available for download via Maven, making working with the new APIs
> > difficult. Could we get these source-jars added to the maven repository?
>
> I find the Servlet 3.0 API sources files here:
>
>
> http://download.java.net/maven/glassfish/org/glassfish/javax.servlet/3.0/javax.servlet-3.0-sources.jar
>
>
> Jan
> [Message sent by forum member 'dhirup' (dhiru.pandey_at_sun.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=382259
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>
>


-- 
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"