Hi,

I have a strange problem... My project depends on a JAR (jstl-1.2.jar)
file that contains a package (javax.servlet.jsp.jstl.sql). The Jar is
beeing downloaded by Maven (as expected). See:
<snip>
Downloading: 
https://maven-repository.dev.java.net/nonav/repository/javax.servlet.jsp.jstl/jars/jstl-1.2.jar
400K downloaded
</snip>

But... I am getting the message (and a build failure) that the package
"javax.servlet.jsp.jstl.sql" does not exist. See:
<error>
D:\Apache\_current12\core\api\src\main\java\javax\faces\component\UIData.java:[42,34]
package javax.servlet.jsp.jstl.sql does not exist
</error>

which is wrong... the jar is present and contains that package.

Also I saw that message:
<snip>
[WARNING] POM for 'javax.servlet:servlet-api:pom:2.5:provided' is
invalid. It will be ignored for artifact resolution. Reason: Not a
v4.0.0 POM.
</snip>

The problem occured not only at my box. Now I don't get completly
what's going wrong, that the package does not exist for javac/maven.
Is the "provided is invalid" message pointing me to a
problem/solution, which I can't see?

Attached also the complete stack sniplet (what's the interesting part).

Thanks for any hint ;)

-Matthias

<complete>
[INFO] Using default encoding to copy filtered resources.
Downloading: 
https://maven-repository.dev.java.net/nonav/repository/javax.servlet.jsp.jstl/poms/jstl-1.2.pom
159b downloaded
[WARNING] POM for 'javax.servlet:servlet-api:pom:2.5:provided' is
invalid. It will be ignored for artifact resolution. Reason: Not a
v4.0.0 POM.
Downloading: 
https://maven-repository.dev.java.net/nonav/repository/javax.servlet.jsp.jstl/jars/jstl-1.2.jar
400K downloaded
[INFO] [compiler:compile]
Compiling 161 source files to D:\Apache\_current12\core\api\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

D:\Apache\_current12\core\api\src\main\java\javax\faces\component\UIData.java:[42,34]
package javax.servlet.jsp.jstl.sql does not exist
</complete>



--
Matthias Wessendorf

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

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

Reply via email to