Dear Community,
I am currently using the component-based development approach in Jmix 2.0. My workflow is as follows:
- Develop and test individual components independently
- Package the components and integrate them into a runnable main project
- Deploy the main project as a WAR file via Tomcat on a Linux server
Current Issue:
After adding a new entity class to one of the components, I repackaged it as a JAR file and replaced the corresponding JAR in Tomcat’s deployment directory. However, the changes didn’t take effect.
Additional Information:
- I added both entity and service classes
- After restarting Tomcat, query calls throw errors indicating the new entity class cannot be found
- The changes only work properly when I rebuild the entire WAR package
Could anyone explain why this is happening? Are there any solutions to avoid rebuilding the entire WAR for component updates?
Best regards,
Allen