When I try to deploy ejd-ear, web-ear on to glassfish server. I added an ejb client dependency in web project. The ejb-ear deploys successfully. But when I try to deploy web
We actually just ran into the same Exception. We have a project that we currently transfer from Java to Kotlin. In the project, all test classes were written in Kotlin and therefore we named the folder src/test/kotlin
. We also configured our pom according to the 'Compiling Kotlin and Java sources' section in the Kotlin documentation.
What we had forgotten was the test directory definition described in the ' Compiling Kotlin only source code' section:
<build>
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
</build>
It has also been a bit confusing that the IntelliJ auto compilation compiled all test classes as required and afterwards also the maven build was successful. Only after a mvn clean test
the TypeNotPresentExceptionProxy
occurred.