[
https://issues.apache.org/jira/browse/FINERACT-730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16868998#comment-16868998
]
Michael Vorburger.ch commented on FINERACT-730:
-----------------------------------------------
> https://github.com/apache/fineract/pull/588 has a start, but doesn't fully
> work - OpenJPA enhancement missing in WAR?!
I'm actually still seeing this problem ({{Caused by:
java.lang.IllegalArgumentException: localized message key: type-not-managed;
substitutions: [class org.apache.fineract.useradministration.domain.AppUser]}})
again, when running {{java -jar build/libs/fineract-provider.war}} built on
pull/525. It's as if the Spring Boot Gradle plugin packages the non-OpenJPA
enhanced domain classes?!
{{./gradlew bootRun}} does work though - that must be having the OpenJPA
enhanced classes on its classpath.
> Fix failing gradle task bootRun & can't run simple Spring Boot java -jar
> (without Tomcat)
> -----------------------------------------------------------------------------------------
>
> Key: FINERACT-730
> URL: https://issues.apache.org/jira/browse/FINERACT-730
> Project: Apache Fineract
> Issue Type: Bug
> Components: Build, System
> Affects Versions: 1.3.0
> Reporter: Courage Angeh
> Assignee: Michael Vorburger.ch
> Priority: Critical
> Labels: build
> Fix For: 1.3.1
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Running all gradle task: rat, build, bootRun; produces the following error
> *...*
> {{_:bootRun_}}
> {{_Error: Could not find or load main class
> org.apache.fineract.ServerWithMariaDB4jApplication_}}
> {{_:bootRun FAILED_}}{{_FAILURE: Build failed with an exception._}}{{_* What
> went wrong:_}}
> {{_Execution failed for task ':bootRun'._}}
> {{_> Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with
> non-zero exit value 1_}}{{_* Try:_}}
> {{_Run with --stacktrace option to get the stack trace. Run with --info or
> --debug option to get more log output._}}{{_BUILD FAILED_}}
>
> More information can be found on the following threads:
> [https://lists.apache.org/thread.html/1f01897413545729420c66355d3211d625ebbd245a98407220783bfc@%3Cdev.fineract.apache.org%3E]
> https://lists.apache.org/thread.html/f4cb9364504a13f71ea7654082274c7ff80c48b19ff76e8cadf3cc7f@%3Cdev.fineract.apache.org%3E
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)