JBPM 6.4 - Failed to deploy kjar (doesn't recognize Java version)
s.jain Jun 20, 2016 3:50 PMI've been using JBPM 6.3 for more than 6 months and now planning to move to JBPM 6.4. I couldn't build my project on JBPM 6.4 that was working fine on JBPM 6.3
So, I downloaded JBPM 6.4 again and tried to build a project on out of the box jbpm-installer's sample projects:
2. ant install.demo.noeclipse
3. ant start.demo.noeclipse. jbpm-cosole and kie-server got deployed successfully.
4. Logged in as admin
5. Opened Project Authoring ->demo ->uf-playground->mortgages.
6. CIicked on "Open Project Editor", then Build ->Build and Deploy.
I got following errors.
Syntax error, annotations are only available if source level is 1.5 or greater
I am on Java 1.8.0_91. I am not sure how to configure JBPM workbench to specify Java version.
| ||||
|
Syntax error, annotations are only available if source level is 1.5 or greater
| 373 | 14 | |
|
Syntax error, annotations are only available if source level is 1.5 or greater
| 475 | 17 | |
|
Syntax error, annotations are only available if source level is 1.5 or greater
| 573 | 20 | |
|
Syntax error, annotations are only available if source level is 1.5 or greater
| 674 | 23 | |
|
Syntax error, annotations are only available if source level is 1.5 or greater
| 281 | 11 | |
|
Syntax error, annotations are only available if source level is 1.5 or greater
| 381 | 14 | |
|
Syntax error, annotations are only available if source level is 1.5 or greater
| 286 | 11 | |
|
Syntax error, annotations are only available if source level is 1.5 or greater
| 382 | 14 | |
|
Syntax error, annotations are only available if source level is 1.5 or greater
| 480 | 17 | |
|
Syntax error, annotations are only available if source level is 1.5 or greater
| 582 | 20 | |
|
Syntax error, annotations are only available if source level is 1.5 or greater
| 679 | 23 | |
|
Syntax error, annotations are only available if source level is 1.5 or greater
| 779 | 26 | |
|
Syntax error, annotations are only available if source level is 1.5 or greater
| 882 | 29 | |
|
Syntax error, annotations are only available if source level is 1.5 or greater
| 283 | 11 | |
|
Syntax error, annotations are only available if source level is 1.5 or greater
| 379 | 14 | |
|
Unable to resolve ObjectType 'LoanApplication'
| 0 | 10 | |
|
Unable to resolve ObjectType 'IncomeSource'
| 0 | 11 | |
|
Unable to Analyse Expression app.setApproved( false ); app.setExplanation( "no NINJAs" ); drools.retract( app );: [Error: unable to resolve method using strict-mode: org.drools.core.spi.KnowledgeHelper.app()] [Near : {... app.setApproved( false ); ....}] ^ [Line: 6, Column: 0]
| 0 | 6 | |
|
Unable to resolve ObjectType 'LoanApplication'
| 0 | 10 | |
|
Unable to resolve ObjectType 'Applicant'
| 0 | 11 | |
|
Unable to Analyse Expression application.setApproved( false ); application.setExplanation( "Underage" ); drools.retract( application );: [Error: unable to resolve method using strict-mode: org.drools.core.spi.KnowledgeHelper.application()] [Near : {... application.setApproved( false ....}] ^ [Line: 6, Column: 0]
| 0 | 6 | |
|
Unable to resolve ObjectType 'LoanApplication'
| 0 | 10 | |
|
Unable to resolve ObjectType 'Applicant'
| 0 | 11 | |
|
Unable to resolve ObjectType 'Applicant'
| 0 | 11 | |
|
Unable to Analyse Expression app.setApproved( false ); app.setExplanation( "Only AA" ); drools.retract( app );: [Error: unable to resolve method using strict-mode: org.drools.core.spi.KnowledgeHelper.app()] [Near : {... app.setApproved( false ); ....}] ^ [Line: 6, Column: 0]
| 0 | 6 | |
|
Unable to resolve ObjectType 'LoanApplication'
| 0 | 10 | |
|
Unable to resolve ObjectType 'Bankruptcy'
| 0 | 11 | |
|
Unable to Analyse Expression a.setApproved( false ); a.setExplanation( "has been bankrupt" ); drools.retract( a );: [Error: unable to resolve method using strict-mode: org.drools.core.spi.KnowledgeHelper.a()] [Near : {... a.setApproved( false ); ....}] ^ [Line: 6, Column: 0]
| 0 | 6 | |
|
Unable to resolve ObjectType 'Applicant'
| 0 | 6 | |
|
Unable to Analyse Expression applicant.setApproved(true);: [Error: unable to resolve method using strict-mode: org.drools.core.spi.KnowledgeHelper.applicant()] [Near : {... applicant.setApproved(true); ....}] ^ [Line: 3, Column: 0]
| 0 | 3 | |
|
Unable to resolve ObjectType 'Applicant'
| 0 | 6 | |
|
Unable to resolve ObjectType 'LoanApplication'
| 0 | 7 | |
|
Unable to resolve ObjectType 'IncomeSource'
| 0 | 8 | |
|
Unable to Analyse Expression application.setApproved( true ); application.setInsuranceCost( 0 ); application.setApprovedRate( 2 );: [Error: unable to resolve method using strict-mode: org.drools.core.spi.KnowledgeHelper.application()] [Near : {... application.setApproved( true ....}] ^ [Line: 4, Column: 0]
| 0 | 4 | |
|
Unable to resolve ObjectType 'LoanApplication'
| 0 | 19 | |
|
Unable to resolve ObjectType 'IncomeSource'
| 0 | 20 | |
|
Unable to Analyse Expression application.setApproved( true ); application.setInsuranceCost( 0 ); application.setApprovedRate( 4 );: [Error: unable to resolve method using strict-mode: org.drools.core.spi.KnowledgeHelper.application()] [Near : {... application.setApproved( true ....}] ^ [Line: 16, Column: 0]
| 0 | 16 | |
|
Unable to resolve ObjectType 'LoanApplication'
| 0 | 31 | |
|
Unable to resolve ObjectType 'IncomeSource'
| 0 | 32 | |
|
Unable to Analyse Expression application.setApproved( true ); application.setInsuranceCost( 10 ); application.setApprovedRate( 6 );: [Error: unable to resolve method using strict-mode: org.drools.core.spi.KnowledgeHelper.application()] [Near : {... application.setApproved( true ....}] ^ [Line: 28, Column: 0]
| 0 | 28 | |
|
Rule Compilation error Only a type can be imported. org.mortgages.IncomeSource resolves to a package Only a type can be imported. org.mortgages.Applicant resolves to a package Only a type can be imported. org.mortgages.Bankruptcy resolves to a package Only a type can be imported. org.mortgages.LoanApplication resolves to a package
| 0 | 3 | |
|
Error importing : 'org.mortgages.LoanApplication'
| 0 | 1 | |
|
Error importing : 'org.mortgages.Bankruptcy'
| 0 | 1 | |
|
Error importing : 'org.mortgages.IncomeSource'
| 0 | 1 | |
|
Error importing : 'org.mortgages.Applicant'
| 0 | 1 |