Good day to you, dudu,

Your IDE can compile it becuase the class you are looking for is within its
classpath. Your maven can't compile it because it's not within his. Thus,
the dependency issue. If you want, you can try searching for the Jar
containing the missing class in the repository, and add it to your
dependency. 

Cheers, 
Franz


dudu wrote:
> 
> Sorry, I'm starting with maven and I'm migrating my projects. I added all
> dependencies but the follow error is ocurring:
> 
> D:\workspace\proj\src\main\java\br\com\sag\components\grid\AjaxSortableTableTa
> g.java:[7,7]
> cannot access javax.servlet.jsp.tagext.JspIdConsumer
> file javax\servlet\jsp\tagext\JspIdConsumer.class not found
> public class AjaxSortableTableTag extends UIComponentTag {
> 
> 
> I've looking for where would be the class JspIdConsumer.class  but without
> sucess.
> Why in any IDE it compile? Anyone knows where is the error?
> 
> And I don't know what dependency is, this is my pom.xml file:
> 
>     <dependencies>
>         <dependency>
>             <groupId>junit</groupId>
>             <artifactId>junit</artifactId>
>             <version>3.8.1</version>
>             <scope>test</scope>
>         </dependency>
>         <dependency>
>             <groupId>javax.faces</groupId>
>             <artifactId>jsf-api</artifactId>
>             <version>1.2</version>
>             <scope>compile</scope>
>         </dependency>
>         <dependency>
>             <groupId>javax.mail</groupId>
>             <artifactId>mail</artifactId>
>             <version>1.4</version>
>             <scope>compile</scope>
>         </dependency>
>         <dependency>
>             <groupId>javax.faces</groupId>
>             <artifactId>jsf-impl</artifactId>
>             <version>1.2</version>
>             <scope>compile</scope>
>         </dependency>
>         <dependency>
>             <groupId>myfaces</groupId>
>             <artifactId>tomahawk</artifactId>
>             <version>1.1.1</version>
>             <scope>compile</scope>
>         </dependency>
>         <dependency>
>             <groupId>oracle.adf</groupId>
>             <artifactId>adf-faces-impl</artifactId>
>             <version>10.1.3</version>
>             <scope>compile</scope>
>         </dependency>
>         <dependency>
>             <groupId>oracle.adf</groupId>
>             <artifactId>adf-faces-api</artifactId>
>             <version>10.1.3</version>
>             <scope>compile</scope>
>         </dependency>
>         <dependency>
>             <groupId>hibernate</groupId>
>             <artifactId>hibernate</artifactId>
>             <version>3.0</version>
>             <scope>compile</scope>
>         </dependency>
>         <dependency>
>             <groupId>javax.servlet</groupId>
>             <artifactId>servlet-api</artifactId>
>             <version>2.4</version>
>             <scope>compile</scope>
>         </dependency>
>         <dependency>
>             <groupId>log4j</groupId>
>             <artifactId>log4j</artifactId>
>             <version>1.2.9</version>
>             <scope>compile</scope>
>         </dependency>
>         <dependency>
>             <groupId>commons-configuration</groupId>
>             <artifactId>commons-configuration</artifactId>
>             <version>1.2</version>
>             <scope>compile</scope>
>         </dependency>
>         <dependency>
>             <groupId>myfaces</groupId>
>             <artifactId>tomahawk</artifactId>
>             <version>1.1.1</version>
>             <scope>compile</scope>
>         </dependency>
>         <dependency>
>             <groupId>jstl</groupId>
>             <artifactId>jstl</artifactId>
>             <version>1.1.0</version>
>             <scope>compile</scope>
>         </dependency>
>         <dependency>
>             <groupId>jspapi</groupId>
>             <artifactId>jsp-api</artifactId>
>             <version>2.0</version>
>             <scope>compile</scope>
>         </dependency>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Error-on-compiling-a-webapp.-Strange-class-is-required.-tf2222408.html#a6183669
Sent from the Maven - Users forum at Nabble.com.


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

Reply via email to