Git Product home page Git Product logo

Comments (3)

Blackdread avatar Blackdread commented on August 18, 2024

I do not know how you get that, does not make sense; And exception X???? why X?
Travis has no problem to build, this error would have been seen otherwise.

from sql-to-jdl.

sreeraj-ramesh avatar sreeraj-ramesh commented on August 18, 2024

mvn compile
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building sql-to-java 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- jooq-codegen-maven:3.11.10:generate (jooq-codegen) @ sql-to-java ---
[INFO] No was provided. Generating ALL available catalogs instead.
[INFO] License parameters
[INFO] ----------------------------------------------------------
[INFO] Thank you for using jOOQ and jOOQ's code generator
[INFO]
[INFO] Database parameters
[INFO] ----------------------------------------------------------
[INFO] dialect : MYSQL
[INFO] URL : jdbc:mysql://192.168.180.159:5613/
[INFO] target dir : /home/sreeraj/Documents/ToDo/generater/sql-to-jdl-master/target/generated-sources/jooq
[INFO] target package : org.blackdread.sqltojava.jooq
[INFO] includes : [.*]
[INFO] excludes : []
[INFO] includeExcludeColumns : false
[INFO] ----------------------------------------------------------
[INFO]
[INFO] JavaGenerator parameters
[INFO] ----------------------------------------------------------
[INFO] annotations (generated): true
[INFO] annotations (JPA: any) : false
[INFO] annotations (JPA: version):
[INFO] annotations (validation): false
[INFO] comments : true
[INFO] comments on attributes : true
[INFO] comments on catalogs : true
[INFO] comments on columns : true
[INFO] comments on keys : true
[INFO] comments on links : true
[INFO] comments on packages : true
[INFO] comments on parameters : true
[INFO] comments on queues : true
[INFO] comments on routines : true
[INFO] comments on schemas : true
[INFO] comments on sequences : true
[INFO] comments on tables : true
[INFO] comments on udts : true
[INFO] daos : false
[INFO] deprecated code : true
[INFO] global references (any): true
[INFO] global references (catalogs): true
[INFO] global references (keys): true
[INFO] global references (links): true
[INFO] global references (queues): true
[INFO] global references (routines): true
[INFO] global references (schemas): true
[INFO] global references (sequences): true
[INFO] global references (tables): true
[INFO] global references (udts): true
[INFO] indexes : true
[INFO] instance fields : true
[INFO] interfaces : false
[INFO] interfaces (immutable) : false
[INFO] javadoc : true
[INFO] keys : true
[INFO] links : true
[INFO] pojos : false
[INFO] pojos (immutable) : false
[INFO] queues : true
[INFO] records : true
[INFO] routines : true
[INFO] sequences : true
[INFO] table-valued functions : true
[INFO] tables : true
[INFO] udts : true
[INFO] relations : true
[INFO] ----------------------------------------------------------
[INFO]
[INFO] Generation remarks
[INFO] ----------------------------------------------------------
[INFO]
[INFO] ----------------------------------------------------------
[INFO] Generating catalogs : Total: 1
[INFO]

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@ @@ @@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@
@@@@@@@@@@@@@@@@ @@ @@ @@@@@@@@@@
@@@@@@@@@@ @@@@ @@ @@ @@@@@@@@@@
@@@@@@@@@@ @@ @@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@ @@ @@@@@@@@@@
@@@@@@@@@@ @@ @@ @@@@ @@@@@@@@@@
@@@@@@@@@@ @@ @@ @@@@ @@@@@@@@@@
@@@@@@@@@@ @@ @ @ @@@@@@@@@@
@@@@@@@@@@ @@ @@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Thank you for using jOOQ 3.11.9

[INFO] ARRAYs fetched : 0 (0 included, 0 excluded)
[INFO] Enums fetched : 0 (0 included, 0 excluded)
[INFO] Packages fetched : 0 (0 included, 0 excluded)
[INFO] Routines fetched : 0 (0 included, 0 excluded)
[INFO] Tables fetched : 59 (59 included, 0 excluded)
[INFO] No schema version is applied for catalog . Regenerating.
[INFO]
[INFO] Generating catalog : DefaultCatalog.java
[INFO] ==========================================================
[INFO] Generating schemata : Total: 1
[INFO] No schema version is applied for schema information_schema. Regenerating.
[INFO] Generating schema : InformationSchema.java
[INFO] ----------------------------------------------------------
[INFO] Sequences fetched : 0 (0 included, 0 excluded)
[INFO] UDTs fetched : 0 (0 included, 0 excluded)
[INFO] Generating tables
[WARNING] Slow SQL : Total: 32.126s
[WARNING] Slow SQL : jOOQ Meta executed a slow query (slower than 5 seconds, configured by configuration/generator/database/logSlowQueriesAfterSeconds)

If you think this is a bug in jOOQ, please report it here: https://github.com/jOOQ/jOOQ/issues/new

select 
  `information_schema`.`REFERENTIAL_CONSTRAINTS`.`CONSTRAINT_SCHEMA`, 
  `information_schema`.`REFERENTIAL_CONSTRAINTS`.`CONSTRAINT_NAME`, 
  `information_schema`.`REFERENTIAL_CONSTRAINTS`.`TABLE_NAME`, 
  `information_schema`.`REFERENTIAL_CONSTRAINTS`.`REFERENCED_TABLE_NAME`, 
  `information_schema`.`REFERENTIAL_CONSTRAINTS`.`UNIQUE_CONSTRAINT_NAME`, 
  `information_schema`.`REFERENTIAL_CONSTRAINTS`.`UNIQUE_CONSTRAINT_SCHEMA`, 
  `information_schema`.`KEY_COLUMN_USAGE`.`COLUMN_NAME`
from `information_schema`.`REFERENTIAL_CONSTRAINTS`
  join `information_schema`.`KEY_COLUMN_USAGE`
  on (
    `information_schema`.`REFERENTIAL_CONSTRAINTS`.`CONSTRAINT_SCHEMA` = `information_schema`.`KEY_COLUMN_USAGE`.`CONSTRAINT_SCHEMA`
    and `information_schema`.`REFERENTIAL_CONSTRAINTS`.`CONSTRAINT_NAME` = `information_schema`.`KEY_COLUMN_USAGE`.`CONSTRAINT_NAME`
    and `information_schema`.`REFERENTIAL_CONSTRAINTS`.`TABLE_NAME` = `information_schema`.`KEY_COLUMN_USAGE`.`TABLE_NAME`
  )
where (
  `information_schema`.`REFERENTIAL_CONSTRAINTS`.`CONSTRAINT_SCHEMA` in ('information_schema')
  or `information_schema`.`REFERENTIAL_CONSTRAINTS`.`CONSTRAINT_SCHEMA` in ('information_schema')
)
order by 
  `information_schema`.`KEY_COLUMN_USAGE`.`CONSTRAINT_SCHEMA` asc, 
  `information_schema`.`KEY_COLUMN_USAGE`.`CONSTRAINT_NAME` asc, 
  `information_schema`.`KEY_COLUMN_USAGE`.`ORDINAL_POSITION` asc

org.jooq.meta.AbstractDatabase$1$SQLPerformanceWarning
at org.jooq.meta.AbstractDatabase$1.executeEnd(AbstractDatabase.java:292)
at org.jooq.impl.ExecuteListeners.executeEnd(ExecuteListeners.java:181)
at org.jooq.impl.AbstractResultQuery.execute(AbstractResultQuery.java:269)
at org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:350)
at org.jooq.impl.AbstractResultQuery.fetch(AbstractResultQuery.java:323)
at org.jooq.impl.SelectImpl.fetch(SelectImpl.java:2700)
at org.jooq.meta.mysql.MySQLDatabase.loadForeignKeys(MySQLDatabase.java:294)
at org.jooq.meta.AbstractDatabase.getRelations0(AbstractDatabase.java:1882)
at org.jooq.meta.AbstractDatabase.getRelations(AbstractDatabase.java:1593)
at org.jooq.meta.DefaultColumnDefinition.getPrimaryKey(DefaultColumnDefinition.java:91)
at org.jooq.meta.AbstractTableDefinition.getPrimaryKey(AbstractTableDefinition.java:76)
at org.jooq.codegen.JavaGenerator.generateTable(JavaGenerator.java:3709)
at org.jooq.codegen.JavaGenerator.generateTable(JavaGenerator.java:3703)
at org.jooq.codegen.JavaGenerator.generateTables(JavaGenerator.java:3690)
at org.jooq.codegen.JavaGenerator.generate(JavaGenerator.java:506)
at org.jooq.codegen.JavaGenerator.generate(JavaGenerator.java:460)
at org.jooq.codegen.JavaGenerator.generate(JavaGenerator.java:382)
at org.jooq.codegen.GenerationTool.run(GenerationTool.java:752)
at org.jooq.codegen.GenerationTool.generate(GenerationTool.java:222)
at org.jooq.codegen.maven.Plugin.execute(Plugin.java:197)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
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:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
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)
[INFO] Synthetic primary keys : 0 (0 included, 0 excluded)
[INFO] Overriding primary keys : 0 (0 included, 0 excluded)
[INFO] Generating table : CharacterSets.java [input=CHARACTER_SETS, output=CHARACTER_SETS, pk=N/A]
[INFO] Indexes fetched : 0 (0 included, 0 excluded)
[INFO] Generating table : Collations.java [input=COLLATIONS, output=COLLATIONS, pk=N/A]
[INFO] Generating table : CollationCharacterSetApplicability.java [input=COLLATION_CHARACTER_SET_APPLICABILITY, output=COLLATION_CHARACTER_SET_APPLICABILITY, pk=N/A]
[INFO] Generating table : Columns.java [input=COLUMNS, output=COLUMNS, pk=N/A]
[INFO] Generating table : ColumnPrivileges.java [input=COLUMN_PRIVILEGES, output=COLUMN_PRIVILEGES, pk=N/A]
[INFO] Generating table : Engines.java [input=ENGINES, output=ENGINES, pk=N/A]
[INFO] Generating table : Events.java [input=EVENTS, output=EVENTS, pk=N/A]
[INFO] Generating table : Files.java [input=FILES, output=FILES, pk=N/A]
[INFO] Generating table : GlobalStatus.java [input=GLOBAL_STATUS, output=GLOBAL_STATUS, pk=N/A]
[INFO] Generating table : GlobalVariables.java [input=GLOBAL_VARIABLES, output=GLOBAL_VARIABLES, pk=N/A]
[INFO] Generating table : InnodbBufferPage.java [input=INNODB_BUFFER_PAGE, output=INNODB_BUFFER_PAGE, pk=N/A]
[INFO] Generating table : InnodbBufferPageLru.java [input=INNODB_BUFFER_PAGE_LRU, output=INNODB_BUFFER_PAGE_LRU, pk=N/A]
[INFO] Generating table : InnodbBufferPoolStats.java [input=INNODB_BUFFER_POOL_STATS, output=INNODB_BUFFER_POOL_STATS, pk=N/A]
[INFO] Generating table : InnodbCmp.java [input=INNODB_CMP, output=INNODB_CMP, pk=N/A]
[INFO] Generating table : InnodbCmpmem.java [input=INNODB_CMPMEM, output=INNODB_CMPMEM, pk=N/A]
[INFO] Generating table : InnodbCmpmemReset.java [input=INNODB_CMPMEM_RESET, output=INNODB_CMPMEM_RESET, pk=N/A]
[INFO] Generating table : InnodbCmpPerIndex.java [input=INNODB_CMP_PER_INDEX, output=INNODB_CMP_PER_INDEX, pk=N/A]
[INFO] Generating table : InnodbCmpPerIndexReset.java [input=INNODB_CMP_PER_INDEX_RESET, output=INNODB_CMP_PER_INDEX_RESET, pk=N/A]
[INFO] Generating table : InnodbCmpReset.java [input=INNODB_CMP_RESET, output=INNODB_CMP_RESET, pk=N/A]
[INFO] Generating table : InnodbFtBeingDeleted.java [input=INNODB_FT_BEING_DELETED, output=INNODB_FT_BEING_DELETED, pk=N/A]
[INFO] Generating table : InnodbFtConfig.java [input=INNODB_FT_CONFIG, output=INNODB_FT_CONFIG, pk=N/A]
[INFO] Generating table : InnodbFtDefaultStopword.java [input=INNODB_FT_DEFAULT_STOPWORD, output=INNODB_FT_DEFAULT_STOPWORD, pk=N/A]
[INFO] Generating table : InnodbFtDeleted.java [input=INNODB_FT_DELETED, output=INNODB_FT_DELETED, pk=N/A]
[INFO] Generating table : InnodbFtIndexCache.java [input=INNODB_FT_INDEX_CACHE, output=INNODB_FT_INDEX_CACHE, pk=N/A]
[INFO] Generating table : InnodbFtIndexTable.java [input=INNODB_FT_INDEX_TABLE, output=INNODB_FT_INDEX_TABLE, pk=N/A]
[INFO] Generating table : InnodbLocks.java [input=INNODB_LOCKS, output=INNODB_LOCKS, pk=N/A]
[INFO] Generating table : InnodbLockWaits.java [input=INNODB_LOCK_WAITS, output=INNODB_LOCK_WAITS, pk=N/A]
[INFO] Generating table : InnodbMetrics.java [input=INNODB_METRICS, output=INNODB_METRICS, pk=N/A]
[INFO] Generating table : InnodbSysColumns.java [input=INNODB_SYS_COLUMNS, output=INNODB_SYS_COLUMNS, pk=N/A]
[INFO] Generating table : InnodbSysDatafiles.java [input=INNODB_SYS_DATAFILES, output=INNODB_SYS_DATAFILES, pk=N/A]
[INFO] Generating table : InnodbSysFields.java [input=INNODB_SYS_FIELDS, output=INNODB_SYS_FIELDS, pk=N/A]
[INFO] Generating table : InnodbSysForeign.java [input=INNODB_SYS_FOREIGN, output=INNODB_SYS_FOREIGN, pk=N/A]
[INFO] Generating table : InnodbSysForeignCols.java [input=INNODB_SYS_FOREIGN_COLS, output=INNODB_SYS_FOREIGN_COLS, pk=N/A]
[INFO] Generating table : InnodbSysIndexes.java [input=INNODB_SYS_INDEXES, output=INNODB_SYS_INDEXES, pk=N/A]
[INFO] Generating table : InnodbSysTables.java [input=INNODB_SYS_TABLES, output=INNODB_SYS_TABLES, pk=N/A]
[INFO] Generating table : InnodbSysTablespaces.java [input=INNODB_SYS_TABLESPACES, output=INNODB_SYS_TABLESPACES, pk=N/A]
[INFO] Generating table : InnodbSysTablestats.java [input=INNODB_SYS_TABLESTATS, output=INNODB_SYS_TABLESTATS, pk=N/A]
[INFO] Generating table : InnodbTrx.java [input=INNODB_TRX, output=INNODB_TRX, pk=N/A]
[INFO] Generating table : KeyColumnUsage.java [input=KEY_COLUMN_USAGE, output=KEY_COLUMN_USAGE, pk=N/A]
[INFO] Generating table : OptimizerTrace.java [input=OPTIMIZER_TRACE, output=OPTIMIZER_TRACE, pk=N/A]
[INFO] Generating table : Parameters.java [input=PARAMETERS, output=PARAMETERS, pk=N/A]
[INFO] Generating table : Partitions.java [input=PARTITIONS, output=PARTITIONS, pk=N/A]
[INFO] Generating table : Plugins.java [input=PLUGINS, output=PLUGINS, pk=N/A]
[INFO] Generating table : Processlist.java [input=PROCESSLIST, output=PROCESSLIST, pk=N/A]
[INFO] Generating table : Profiling.java [input=PROFILING, output=PROFILING, pk=N/A]
[INFO] Generating table : ReferentialConstraints.java [input=REFERENTIAL_CONSTRAINTS, output=REFERENTIAL_CONSTRAINTS, pk=N/A]
[INFO] Generating table : Routines.java [input=ROUTINES, output=ROUTINES, pk=N/A]
[INFO] Generating table : Schemata.java [input=SCHEMATA, output=SCHEMATA, pk=N/A]
[INFO] Generating table : SchemaPrivileges.java [input=SCHEMA_PRIVILEGES, output=SCHEMA_PRIVILEGES, pk=N/A]
[INFO] Generating table : SessionStatus.java [input=SESSION_STATUS, output=SESSION_STATUS, pk=N/A]
[INFO] Generating table : SessionVariables.java [input=SESSION_VARIABLES, output=SESSION_VARIABLES, pk=N/A]
[INFO] Generating table : Statistics.java [input=STATISTICS, output=STATISTICS, pk=N/A]
[INFO] Generating table : Tables.java [input=TABLES, output=TABLES, pk=N/A]
[INFO] Generating table : Tablespaces.java [input=TABLESPACES, output=TABLESPACES, pk=N/A]
[INFO] Generating table : TableConstraints.java [input=TABLE_CONSTRAINTS, output=TABLE_CONSTRAINTS, pk=N/A]
[INFO] Generating table : TablePrivileges.java [input=TABLE_PRIVILEGES, output=TABLE_PRIVILEGES, pk=N/A]
[INFO] Generating table : Triggers.java [input=TRIGGERS, output=TRIGGERS, pk=N/A]
[INFO] Generating table : UserPrivileges.java [input=USER_PRIVILEGES, output=USER_PRIVILEGES, pk=N/A]
[INFO] Generating table : Views.java [input=VIEWS, output=VIEWS, pk=N/A]
[INFO] Tables generated : Total: 33.198s
[INFO] Generating table references
[INFO] Table refs generated : Total: 33.201s, +3.142ms
[INFO] Generating Keys
[INFO] Skipping empty keys
[INFO] Generating Indexes
[INFO] Skipping empty indexes
[INFO] Generating table records
[INFO] Generating record : CharacterSetsRecord.java
[INFO] Generating record : CollationsRecord.java
[INFO] Generating record : CollationCharacterSetApplicabilityRecord.java
[INFO] Generating record : ColumnsRecord.java
[INFO] Generating record : ColumnPrivilegesRecord.java
[INFO] Generating record : EnginesRecord.java
[INFO] Generating record : EventsRecord.java
[INFO] Generating record : FilesRecord.java
[INFO] Generating record : GlobalStatusRecord.java
[INFO] Generating record : GlobalVariablesRecord.java
[INFO] Generating record : InnodbBufferPageRecord.java
[INFO] Generating record : InnodbBufferPageLruRecord.java
[INFO] Generating record : InnodbBufferPoolStatsRecord.java
[INFO] Generating record : InnodbCmpRecord.java
[INFO] Generating record : InnodbCmpmemRecord.java
[INFO] Generating record : InnodbCmpmemResetRecord.java
[INFO] Generating record : InnodbCmpPerIndexRecord.java
[INFO] Generating record : InnodbCmpPerIndexResetRecord.java
[INFO] Generating record : InnodbCmpResetRecord.java
[INFO] Generating record : InnodbFtBeingDeletedRecord.java
[INFO] Generating record : InnodbFtConfigRecord.java
[INFO] Generating record : InnodbFtDefaultStopwordRecord.java
[INFO] Generating record : InnodbFtDeletedRecord.java
[INFO] Generating record : InnodbFtIndexCacheRecord.java
[INFO] Generating record : InnodbFtIndexTableRecord.java
[INFO] Generating record : InnodbLocksRecord.java
[INFO] Generating record : InnodbLockWaitsRecord.java
[INFO] Generating record : InnodbMetricsRecord.java
[INFO] Generating record : InnodbSysColumnsRecord.java
[INFO] Generating record : InnodbSysDatafilesRecord.java
[INFO] Generating record : InnodbSysFieldsRecord.java
[INFO] Generating record : InnodbSysForeignRecord.java
[INFO] Generating record : InnodbSysForeignColsRecord.java
[INFO] Generating record : InnodbSysIndexesRecord.java
[INFO] Generating record : InnodbSysTablesRecord.java
[INFO] Generating record : InnodbSysTablespacesRecord.java
[INFO] Generating record : InnodbSysTablestatsRecord.java
[INFO] Generating record : InnodbTrxRecord.java
[INFO] Generating record : KeyColumnUsageRecord.java
[INFO] Generating record : OptimizerTraceRecord.java
[INFO] Generating record : ParametersRecord.java
[INFO] Generating record : PartitionsRecord.java
[INFO] Generating record : PluginsRecord.java
[INFO] Generating record : ProcesslistRecord.java
[INFO] Generating record : ProfilingRecord.java
[INFO] Generating record : ReferentialConstraintsRecord.java
[INFO] Generating record : RoutinesRecord.java
[INFO] Generating record : SchemataRecord.java
[INFO] Generating record : SchemaPrivilegesRecord.java
[INFO] Generating record : SessionStatusRecord.java
[INFO] Generating record : SessionVariablesRecord.java
[INFO] Generating record : StatisticsRecord.java
[INFO] Generating record : TablesRecord.java
[INFO] Generating record : TablespacesRecord.java
[INFO] Generating record : TableConstraintsRecord.java
[INFO] Generating record : TablePrivilegesRecord.java
[INFO] Generating record : TriggersRecord.java
[INFO] Generating record : UserPrivilegesRecord.java
[INFO] Generating record : ViewsRecord.java
[INFO] Table records generated : Total: 33.357s, +155.969ms
[INFO] Domains fetched : 0 (0 included, 0 excluded)
[INFO] Generation finished: information_schema: Total: 33.357s, +0.155ms
[INFO]
[INFO] Removing excess files
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ sql-to-java ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ sql-to-java ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 149 source files to /home/sreeraj/Documents/ToDo/generater/sql-to-jdl-master/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/sreeraj/Documents/ToDo/generater/sql-to-jdl-master/src/main/java/org/blackdread/sqltojava/service/logic/SqlService.java:[91,50] unreported exception X; must be caught or declared to be thrown
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 39.690 s
[INFO] Finished at: 2019-04-06T12:39:50+05:30
[INFO] Final Memory: 39M/561M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project sql-to-java: Compilation failure
[ERROR] /home/sreeraj/Documents/ToDo/generater/sql-to-jdl-master/src/main/java/org/blackdread/sqltojava/service/logic/SqlService.java:[91,50] unreported exception X; must be caught or declared to be thrown
[ERROR]
[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

from sql-to-jdl.

305088020 avatar 305088020 commented on August 18, 2024

It's a JDK's bug,you can add a Exception constraint like this :
.map(sqlTable -> sqlTable.orElseThrow(() -> new IllegalStateException("Table not found or is ignored")))

from sql-to-jdl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.