-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spring boot support #496
Comments
Hi @ojecborec. I made a simple Spring Boot 3.1.3 demo project (attached). I had no problems building or running it. Perhaps there are other aspects of your project that contribute to the issue? Can you share your project's build config here? |
@rsmckinney This looks like a regression caused by spring-projects/spring-framework#29226 where a catch block is missing around the new fallback getFile() call there. Should be fixed in Spring Framework 6.0.12. |
@ojecborec Good to know, thanks. Can you supply your build config? If you are using manifold normally, there shouldn’t be any need for resolving paths like |
@rsmckinney I've just realized what I was doing wrong. After removing following dependency my Spring Boot application works as expected. Sorry for the false alarm. <dependencies>
<dependency>
<groupId>systems.manifold</groupId>
<artifactId>manifold-strings</artifactId>
<version>${manifold-version}</version>
</dependency>
</dependencies> |
Ah, good to hear, that is what I suspected. If you haven’t already, you should instead use manifold-strings as an annotation processor path instead. <annotationProcessorPaths>
<path>
<groupId>systems.manifold</groupId>
<artifactId>manifold-strings</artifactId>
<version>${manifold.version}</version>
</path>
</annotationProcessorPaths> |
I’m was using that one two as well at it seems to be the right way to do. |
I'm having issues with running the latest Manifold 2023.1.24 with Spring Boot 3.1.3. I've tried to use
@NoBootstrap
annotation as suggested by #22 but had no luck. I've noticed that my app starts successfully once I remove these 2 artifacts from mypom.xml
file.The text was updated successfully, but these errors were encountered: