incodehq / incode-platform

Combines incode.org modules and isisaddons.org into a single set of modules.
http://platform.incode.org
Apache License 2.0
8 stars 9 forks source link

Fix javassist dependency in incode quickstart #94

Open danhaywood opened 5 years ago

danhaywood commented 5 years ago

as per https://lists.apache.org/thread.html/a23ec1bc8d92b438875822eccd34640c599ddb81fc12a0168c5f8df5@%3Cusers.isis.apache.org%3E

I create a project from incode quickstart app archetype. When I deploy the application, there are some domainservices can not be instantiate properly.

After track down I found module webapp's dependcy ognl which depends on javassist 3.11. But javassist 3.11 can not work on JDK 8.The application has two version of javassist denpendcies. So just add exclusion clause like below to resolve the problem:

              <dependency>
                <groupId>ognl</groupId>
                <artifactId>ognl</artifactId>
                <version>${ognl.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.javassist</groupId>
                        <artifactId>javassist</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>