Hi, I'm new to jstl and can't add a dep. on it correctly. The project uses myfaces and jstl, so I add to parent pom:
                        <dependency>
                                <groupId>javax.servlet.jsp.jstl</groupId>
                                <artifactId>jstl</artifactId>
                                <version>1.2</version>
                        </dependency>
                        <dependency>
                                <groupId>org.apache.myfaces.core</groupId>
                                <artifactId>myfaces-api</artifactId>
                                <version>1.1.2</version>
                        </dependency>
                        <dependency>
                                <groupId>org.apache.myfaces.core</groupId>
                                <artifactId>myfaces-impl</artifactId>
                                <version>1.1.2</version>
                        </dependency>

The jars are packed to web-inf/lib dir, but I see there jstl-1.1.0 and jstl-1.2 jars... First it was pretty hard to find a correct (correct?) dep. for myfaces and jstl, there are 2 copies on different groups for them, I don't know why.. Next, when I download jstl from apache (1.1.2) there are jstl and standart jars, here I see 2 jstl, no standart..
Third, when I run this, I get either:
org.apache.jasper.JasperException: Unable to read TLD "META-INF/c.tld" from JAR file "file:/E:/work/webapp/target/WEB-INF/lib/jstl-1.2.jar": org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV
The goddamned c.tld is there!

or org.apache.jasper.JasperException: Unable to load class for JSP
depending on how many times I press 'F5' on page.

Please help me with this damned maven/jstl!
Yeah, and the last thing which completely kills me, servlet-api are declared 'provided' in pom, and when packaged are not in war, but why the hell idea plugin generates project, which does put this jar to web-inf/lib?
--
.:Regards, AK:.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to