Comments (4)
Hi folks. One of the Team Epsilon folks here. I have been away from open source for many months due to health issues.
What @alessiaBasadonne points out is exactly the kind of thing I am working to correct on the README. My work is all on a local branch right now but has many corrections. Hope to get it pushed within the month.
Although I will have some outliers, these corrections will likely help with the open project issues.
from ctakes-rest-service.
Occurs after calling:
mvn install
in ./ctakes-web-rest:[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.4:compile (default-compile) on project ctakes-web-rest: Compilation failure: Compilation failure:
[ERROR] /home/michaeljtbrooks/Downloads/Installers/ctakes-rest-service-master/ctakes-web-rest/src/main/java/org/apache/ctakes/rest/service/CtakesRestController.java:[34,23] error: cannot find symbol
[ERROR] symbol: class PostConstruct
[ERROR] location: package javax.annotation
[ERROR] /home/michaeljtbrooks/Downloads/Installers/ctakes-rest-service-master/ctakes-web-rest/src/main/java/org/apache/ctakes/rest/service/CtakesRestController.java:[59,5] error: cannot find symbol
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.4:compile (default-compile) on project ctakes-web-rest: Compilation failure
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
at org.apache.maven.plugin.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:678)
at org.apache.maven.plugin.CompilerMojo.execute (CompilerMojo.java:128)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[ERROR]
[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/MojoFailureException
I encountered the same Exception; is there a Fix?
from ctakes-rest-service.
Occurs after calling:
mvn install
in ./ctakes-web-rest:
[....]
Hey @michaeljtbrooks I did manage to make the installation work! The problem is that if you follow this step (sudo apt-get install default-jdk you end up with java 10 instead of java 8 which causes broken dependencies in the project)
This issue is not related to ctakes but made me get what was the problem:
[(https://github.com/micronaut-projects/micronaut-core/issues/441)]
So here is how I modified the installation to make it work:
Instead of sudo apt-get install default-jdk use sudo apt-get install openjdk-8-jdk
In the Tomcat portion the version in the wget does not exist anymore, substitute 8.5.37 or with 8.5.42 or another version that exists.
Modify tomcat.service to make it point to the right JVM (Not the latest but Java8)
Environment="JAVA_HOME=/usr/lib/jvm/default-java" -> Environment="JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64"
If you have any problem feel free to contact me! I think we can close the issue, 'cause it's not really a bug :)
from ctakes-rest-service.
Okay, README is updated. I'm going to close this. If it needs to be re-opened, let me know.
from ctakes-rest-service.
Related Issues (20)
- JdbcRareWordDictionary Error HOT 8
- Question: Where to run custom dictionary creator tool after getting ctakes rest service up and running? HOT 8
- When running in web server, does it use "resources" folder from "ctakes-rest-service/ctakes-web-rest/src/main/" or from the SVN branch we download it from? HOT 2
- Question: Running Ctakes-rest-service on top of an existing ctakes user installation on windows HOT 1
- Another question HOT 2
- Inconsistent working of API HOT 2
- index.css:1 Failed to load resource: the server responded with a status of 404 () HOT 1
- Question: How to update snowmed database?
- Exception: The server time zone value X is unrecognized
- Limited Results with Various Inputs HOT 1
- Could not resolve dependencies for project HOT 2
- If I just clone the ctakes-rest-service ignore the code-base-step HOT 1
- Dosage strength is not returned in the response HOT 2
- Project Status? HOT 3
- Having a hard time tracking down the source of this error / Building the Dockerized Solution HOT 4
- When hitting the running service, get sql error HOT 2
- Performance issues
- Guide to using a custom dictionary with this service?
- ctakes server picking terms which are not in custom dictionary
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ctakes-rest-service.