Hi Ben,
Thanks for your suggestions. Here's my file. I'm not familiar with
the term POM that everyone else seems to be using but this is the xml
file with dependencies in it. Thanks.
Ken
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
ben short
Sent: Tuesday, August 15, 2006 3:23 PM
To: Maven Users List
Subject: Re: Help building and deploying a war with JSTL in it
Hi Ken,
I have the following dependency im my pom...
<dependency>
<groupId>taglibs</groupId>
<artifactId>c</artifactId>
<version>1.1.2</version>
<scope>compile</scope>
<type>tld</type>
</dependency>
And i add the following to my jsp pages...
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
Maven takes care of the rest form me.
In the war file under WEB-INF i have a tdl directory that has the
c-1.1.2.tld file in it.
Maybe supply your pom and I might beable to help you further.
Ben
On 8/15/06, Kenneth Litwak <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a web app built with Maven. I'm not the maven expert here,
but
> he's out of the office for several days. He set things up to use
> multiple configurations. The "local" one I use for my own unit
testing
> is doing fine but one for our main test server is not. When I try to
> run a war, I get a jasper exception from tomcat because the URI for
> jstl/core cannot be found. My repository has a JSTL directory, with
> both the jstl and jstl-standard jars in it. My project.xml has a
> dependency for jstl. The jstl jar, but NOT the jstl-standard jar
shows
> up in the WEB-INF/lib directory after I build the war. What do I need
> to check or change to make this work? Thanks.
>
> Ken
>
>
>
> Kenneth D. Litwak
> Software Engineer III
> IMT
> Azusa Pacific University
> 901 E. Alosta
> Azusa, CA 91702
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<?xml version="1.0" encoding="UTF-8"?>
<project>
<!-- the version of maven's project object model -->
<pomVersion>3</pomVersion>
<!--
project id, name and version
-->
<id>student-schedule</id>
<name>Graduate Student Schedule</name>
<package>studentSchedule</package>
<currentVersion>0.1</currentVersion>
<!--
project details
-->
<organization>
<name>Azusa Pacific University</name>
<url></url>
<logo></logo>
</organization>
<shortDescription>
Project Description
</shortDescription>
<description>
This is the Project Description
</description>
<!--
project info, docs, and source
-->
<url>http://devel.apu.edu/StudentSchedule/</url>
<issueTrackingUrl>https://devel.apu.edu:8000/jira/</issueTrackingUrl>
<siteAddress>devel.apu.edu</siteAddress>
<!--
any mailing lists for the project
-->
<mailingLists/>
<!--
who the developers are for the project
-->
<developers/>
<!--
jar files the project is dependent on
-->
<dependencies>
<dependency>
<id>junit</id>
<version>3.8.1</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.8</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>servletapi</id>
<version>2.3</version>
</dependency>
<dependency>
<id>casclient</id>
<version>2.0.10</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<!-- APU DB -->
<dependency>
<id>apu-db</id>
<version>0.2</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>1.2.1</version>
<properties>
</properties>
</dependency>
<dependency>
<groupId>commons-pool</groupId>
<artifactId>commons-pool</artifactId>
<version>1.2</version>
<properties>
</properties>
</dependency>
<dependency>
<id>ifxjdbc</id>
<version>2.21.JC4</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>7.4-jdbc3</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<!-- APU UTIL -->
<dependency>
<id>apu-util</id>
<version>latest</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>jldap</id>
<version>2004.05.18</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<!-- APU UTIL -->
<!-- Begin APU Registration dependencies -->
<dependency>
<id>apu-registration</id>
<version>2.1</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>apu-ifas</id>
<version>0.1.4</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>jakarta-oro</id>
<version>2.0.7</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<!-- End APU Registration dependencies -->
<dependency>
<id>apu-academics</id>
<version>3.0.B1</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>apu-monitor</id>
<version>0.1.1</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>mx4j</id>
<version>2.1.0</version>
<!--version>3.0.1</version-->
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>jstl</id>
<version>1.1.2</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>javamail</id>
<version>1.3.1</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>activation</id>
<version>1.0.2</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
</dependencies>
<!--
build information for the project (bundled in the dist)
-->
<build>
<nagEmailAddress>[EMAIL PROTECTED]</nagEmailAddress>
<sourceDirectory>src/java</sourceDirectory>
<unitTestSourceDirectory>src/junit</unitTestSourceDirectory>
<!--
testing setup
-->
<unitTest>
<includes>
<include>**/Test*.java</include>
</includes>
<resources>
<resource>
<directory>${maven.conf.dir}</directory>
<filtering>true</filtering>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
</unitTest>
<!--
bundled resources
-->
<resources>
<resource>
<directory>${maven.conf.dir}</directory>
<filtering>true</filtering>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
</build>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]