Great. Glad to hear it's working for you.

Sent from my iPhone

On Oct 29, 2013, at 3:36 PM, "eli mizzou" 
<[email protected]<mailto:[email protected]>> wrote:

I deleted the problematic folder on .m2 and run mvn clean install -U.
It worked!

thanks for your time :)

-Eli


On Tue, Oct 29, 2013 at 1:45 PM, Chen, Pei 
<[email protected]<mailto:[email protected]>> wrote:
Also-Try running from the root dir instead if the sub projects?

Sent from my iPhone

On Oct 29, 2013, at 2:31 PM, "eli mizzou" 
<[email protected]<mailto:[email protected]>> wrote:

Yes, but got the same error!
C:\cTAKES_Dev\ctakes\ctakes-core>mvn clean
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache cTAKES core 3.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ctakes-core ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.330s
[INFO] Finished at: Tue Oct 29 13:30:40 CDT 2013
[INFO] Final Memory: 6M/121M
[INFO] ------------------------------------------------------------------------
C:\cTAKES_Dev\ctakes\ctakes-core>mvn compile
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache cTAKES core 3.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.apache.ctakes:ctakes-core-res:jar:3.2.0-SNAPSHOT is 
missing, no dependency information available
[WARNING] The POM for org.apache.ctakes:ctakes-type-system:jar:3.2.0-SNAPSHOT 
is missing, no dependency information available
[WARNING] The POM for org.apache.ctakes:ctakes-utils:jar:3.2.0-SNAPSHOT is 
missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.504s
[INFO] Finished at: Tue Oct 29 13:30:48 CDT 2013
[INFO] Final Memory: 6M/121M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project ctakes-core: Could not resolve 
dependencies for project org.apache.ctakes:ctakes-core:jar:3.2.0-SNAPSHOT: Th
e following artifacts could not be resolved: 
org.apache.ctakes:ctakes-core-res:jar:3.2.0-SNAPSHOT, 
org.apache.ctakes:ctakes-type-system:jar:3.2.0-SNAP
SHOT, org.apache.ctakes:ctakes-utils:jar:3.2.0-SNAPSHOT: Failure to find 
org.apache.ctakes:ctakes-core-res:jar:3.2.0-SNAPSHOT in http://repository.apa
che.org/snapshots<http://che.org/snapshots> was cached in the local repository, 
resolution will not be reattempted until the update interval of 
apache.snapshots has elapsed or
updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException


On Tue, Oct 29, 2013 at 1:21 PM, Chen, Pei 
<[email protected]<mailto:[email protected]>> wrote:
Have you tried just clean compile?

Sent from my iPhone

On Oct 29, 2013, at 2:08 PM, "eli mizzou" 
<[email protected]<mailto:[email protected]>> wrote:

I'm on Windows7 system with Maven version
C:\cTAKES_Dev\ctakes\ctakes-core>mvn -version
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 
10:22:22-0500)
Maven home: C:\maven\apache-maven-3.1.1\bin\..
Java version: 1.7.0_09, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_09\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"

I tried that in command line. Here is the log file:

C:\cTAKES_Dev\ctakes\ctakes-core>mvn install -e
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache cTAKES core 3.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.apache.ctakes:ctakes-core-res:jar:3.2.0-SNAPSHOT is 
missing, no dependency information available
[WARNING] The POM for org.apache.ctakes:ctakes-type-system:jar:3.2.0-SNAPSHOT 
is missing, no dependency information available
[WARNING] The POM for org.apache.ctakes:ctakes-utils:jar:3.2.0-SNAPSHOT is 
missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.525s
[INFO] Finished at: Tue Oct 29 12:23:21 CDT 2013
[INFO] Final Memory: 6M/121M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project ctakes-core: Could not resolve 
dependencies for project org.apache.ctakes:ctakes-core:jar:3.2.0-SNAPSHOT: Th
e following artifacts could not be resolved: 
org.apache.ctakes:ctakes-core-res:jar:3.2.0-SNAPSHOT, 
org.apache.ctakes:ctakes-type-system:jar:3.2.0-SNAP
SHOT, org.apache.ctakes:ctakes-utils:jar:3.2.0-SNAPSHOT: Failure to find 
org.apache.ctakes:ctakes-core-res:jar:3.2.0-SNAPSHOT in http://repository.apa
che.org/snapshots<http://che.org/snapshots> was cached in the local repository, 
resolution will not be reattempted until the update interval of 
apache.snapshots has elapsed or
updates are forced -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
on project ctakes-core: Could not resolve dependencies for project org.
apache.ctakes:ctakes-core:jar:3.2.0-SNAPSHOT: The following artifacts could not 
be resolved: org.apache.ctakes:ctakes-core-res:jar:3.2.0-SNAPSHOT, org
.apache.ctakes:ctakes-type-system:jar:3.2.0-SNAPSHOT, 
org.apache.ctakes:ctakes-utils:jar:3.2.0-SNAPSHOT: Failure to find 
org.apache.ctakes:ctakes-core
-res:jar:3.2.0-SNAPSHOT in http://repository.apache.org/snapshots was cached in 
the local repository, resolution will not be reattempted until the upd
ate interval of apache.snapshots has elapsed or updates are forced


On Tue, Oct 29, 2013 at 11:09 AM, Chen, Pei 
<[email protected]<mailto:[email protected]>> wrote:
Does ‘clean compile’ work?
--Pei

From: eli mizzou [mailto:[email protected]<mailto:[email protected]>]
Sent: Tuesday, October 29, 2013 12:09 PM
To: Chen, Pei
Subject: Re: Getting error when installing cTAKES for Dev

Thanks for your prompt reply.
I tried "Maven clean install" and here is the error log I got.

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
details.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache cTAKES core 3.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.apache.ctakes:ctakes-core-res:jar:3.2.0-SNAPSHOT is 
missing, no dependency information available
[WARNING] The POM for org.apache.ctakes:ctakes-type-system:jar:3.2.0-SNAPSHOT 
is missing, no dependency information available
[WARNING] The POM for org.apache.ctakes:ctakes-utils:jar:3.2.0-SNAPSHOT is 
missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.704s
[INFO] Finished at: Tue Oct 29 11:05:44 CDT 2013
[INFO] Final Memory: 5M/121M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project ctakes-core: Could not resolve 
dependencies for project org.apache.ctakes:ctakes-core:jar:3.2.0-SNAPSHOT: The 
following artifacts could not be resolved: 
org.apache.ctakes:ctakes-core-res:jar:3.2.0-SNAPSHOT, 
org.apache.ctakes:ctakes-type-system:jar:3.2.0-SNAPSHOT, 
org.apache.ctakes:ctakes-utils:jar:3.2.0-SNAPSHOT: Failure to find 
org.apache.ctakes:ctakes-core-res:jar:3.2.0-SNAPSHOT in 
http://repository.apache.org/snapshots was cached in the local repository, 
resolution will not be reattempted until the update interval of 
apache.snapshots has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

I also checked the "http://www.slf4j.org/codes.html#StaticLoggerBinder"; and 
added "slf4j-jdk14-1.7.5.jar" into the class path but still getting the same 
error!

On Tue, Oct 29, 2013 at 10:35 AM, Chen, Pei 
<[email protected]<mailto:[email protected]>> wrote:
Hi Eli,

-          Some of the projects are probably not building- try refreshing (F5)- 
also ensure that Eclipse has finished downloading and building (lower right 
hand status bar.)

-          Alternatively, from the command line (by passing eclipse plugin’s 
etc.)- try running ‘mvn clean compile’ (Make sure you have the lastest maven 
and JDK installed).

-          Another option in eclipse, try right clicking on the project(s)- > 
Run As > Maven > generate-sources


From: eli mizzou [mailto:[email protected]<mailto:[email protected]>]
Sent: Tuesday, October 29, 2013 11:18 AM
To: Chen, Pei
Subject: Getting error when installing cTAKES for Dev

Dear Pei,

I'm installing cTAKES for developer and I followed all instructions step by 
step, but I'm getting 27 errors which most of them are related to maven jars! 
For some reason they can not be found and imports in the java codes can not be 
found! I checked the .m2 repository on my local machine jar's where there and 
in the Eclipse navigation bar they are listed under Maven Dependencies! Sorry 
if this is an stupid question, I'm new to Maven!
Attached is the log file of errors.

I appreciate your help in advance.

-Eli





Reply via email to