You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
package exists in another module: java.sql javax/sql/DataSource__TestContext004_BeanDefinitions.java 1:1
cannot find symbol
symbol: class DataSource__TestContext004_BeanDefinitions
location: package javax.sql org/springframework/test/context/testng/DirtiesContextTransactionalTestNGSpringContextTests__TestContext004_BeanFactoryRegistrations.java 3:17
The text was updated successfully, but these errors were encountered:
snicoll
changed the title
AOT bean definition for EmbeddedDatabaseFactoryBean is generated in javax.sql package
BeanDefinitionMethodGenerator should not generate code in the javax package name
Sep 27, 2022
I don't know why it's different. I merely reported something that I observed.
Though perhaps this only fails in conjunction with the TestCompiler and the CompileWithForkedClassLoaderExtension.
org.springframework.core.test.tools.CompilationException: Unable to compile source
package exists in another module: java.sql /javax/sql/DataSource__TestContext001_BeanDefinitions.java 1:1
This was discovered while executing
DirtiesContextTransactionalTestNGSpringContextTests
fromspring-test
in AOT mode.The config file
DirtiesContextTransactionalTestNGSpringContextTests-context.xml
contains the following.AOT processing generates the following source code in the
javax.sql
package.Compilation fails as follows:
The text was updated successfully, but these errors were encountered: