Open humehta opened 6 years ago
Check you java version.
java -version
The error is saying you have java version 1.5 and you should use 1.6 or later.
I figured out the error it was not java, you will have to edit your pom.xml file to include the maven 1.6 version
But when implementing the ">startup.bat --text "diabetes"" command I am getting the following error:
02 Jul 2018 18:16:21 FATAL ENGINE - could not reopen database
org.hsqldb.HsqlException: wrong database file version
at org.hsqldb.error.Error.error(Unknown Source)
at org.hsqldb.error.Error.error(Unknown Source)
at org.hsqldb.persist.HsqlDatabaseProperties.load(Unknown Source)
at org.hsqldb.persist.Logger.open(Unknown Source)
at org.hsqldb.Database.reopen(Unknown Source)
at org.hsqldb.Database.open(Unknown Source)
at org.hsqldb.DatabaseManager.getDatabase(Unknown Source)
at org.hsqldb.DatabaseManager.newSession(Unknown Source)
at org.hsqldb.jdbc.JDBCConnection.
02 Jul 2018 18:16:21 ERROR JdbcConnectionFactory - Could not create Connection with jdbc:hsqldb:file:C:\Users\harsh\ctakes-standalone-application\target\ctakes-standalone-application-0.0.1-SNAPSHOT-bin\ctakes-standalone-application-0.0.1-SNAPSHOT\org\apache\ctakes\dictionary\lookup\fast\ctakessnorx\ctakessnorx as sa
java.sql.SQLException: wrong database file version
at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
at org.hsqldb.jdbc.JDBCConnection.
Any inputs on this?
Getting an issue while running the following command:
Error:
[INFO] Changes detected - recompiling the module! [INFO] Compiling 8 source files to C:\Users\harsh\ctakes-standalone-application\target\classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] Source option 1.5 is no longer supported. Use 1.6 or later. [ERROR] Target option 1.5 is no longer supported. Use 1.6 or later. [INFO] 2 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 07:17 min [INFO] Finished at: 2018-07-02T17:14:58-07:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project ctakes-standalone-application: Compilation failure: Compilation failure: [ERROR] Source option 1.5 is no longer supported. Use 1.6 or later. [ERROR] Target option 1.5 is no longer supported. Use 1.6 or later. [ERROR] -> [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/MojoFailureException