You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Magnanao, Hector" <he...@sap.com> on 2015/07/24 17:26:29 UTC

build compile error

How do I resolve these package errors ?

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project foundation: Compilation failure: Compilation failure:
[ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/dev/PropertiesMungerTask.java:[7,28] package org.apache.tools.ant does not exist
[ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/util/jdbc/SqlProfiler.java:[14,26] package javax.servlet.http does not exist
[ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/util/jdbc/SqlProfiler.java:[15,26] package javax.servlet.http does not exist
[ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/util/jdbc/SqlProfiler.java:[189,45] cannot find symbol

Hector Magnanao Jr.
SCM Analyst

Fieldglass, Inc.
O: (331) 702-6142
M: (773) 474-3051
Hector.magnanao@sap.com
www.fieldglass.com

Fieldglass is now part of SAP

This email contains confidential information.  If you are not the intended recipient, do not read, distribute or reproduce this transmission (including any attachments). If you have received this email in error, please notify the sender by email reply.


Re: build compile error

Posted by Gail Stewart <ga...@mineraltree.com>.
http://mvnrepository.com/artifact/javax.servlet/servlet-api
The jar is in maven central.  I assume the dependency is of class
"provided".

On Fri, Jul 24, 2015 at 11:26 AM, Magnanao, Hector <he...@sap.com>
wrote:

> How do I resolve these package errors ?
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
> (default-compile) on project foundation: Compilation failure: Compilation
> failure:
> [ERROR]
> /C:/Foundation/foundation/src/main/java/com/mycompany/app/dev/PropertiesMungerTask.java:[7,28]
> package org.apache.tools.ant does not exist
> [ERROR]
> /C:/Foundation/foundation/src/main/java/com/mycompany/app/util/jdbc/SqlProfiler.java:[14,26]
> package javax.servlet.http does not exist
> [ERROR]
> /C:/Foundation/foundation/src/main/java/com/mycompany/app/util/jdbc/SqlProfiler.java:[15,26]
> package javax.servlet.http does not exist
> [ERROR]
> /C:/Foundation/foundation/src/main/java/com/mycompany/app/util/jdbc/SqlProfiler.java:[189,45]
> cannot find symbol
>
> Hector Magnanao Jr.
> SCM Analyst
>
> Fieldglass, Inc.
> O: (331) 702-6142
> M: (773) 474-3051
> Hector.magnanao@sap.com
> www.fieldglass.com
>
> Fieldglass is now part of SAP
>
> This email contains confidential information.  If you are not the intended
> recipient, do not read, distribute or reproduce this transmission
> (including any attachments). If you have received this email in error,
> please notify the sender by email reply.
>
>


-- 

Gail Stewart
Sr. Release Engineer

AP & Payment Automation
125 Cambridgepark Drive
Cambridge, MA 02140
gail.stewart@mineraltree.com
617.299.3399  x148