PathMatchingResourcePatternResolver
wrongly assumes that target/classes
always exists
#34764
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: waiting-for-triage
An issue we've not yet triaged or decided on
type: regression
A bug that is also a regression
What I think is a bug has been introduced in
[email protected]
.The problem didn't occur in
[email protected]
. I did see some changes toPathMatchingResourcePatternResolver
in the latest release, but fail to grasp how that would be related.What is wrong in my opinion...
Assuming that a Maven project always has a
target/classes
folder present is wrong in my humble opinion. E.g. I personally like to create "integration test modules" for properly testing Spring autoconfigurations. These do only contain atarget/test-classes
folder.More Context
The following fails now, and didn't before:
It produces the following stacktrace.
Reproducer
There you go: https://github.com/bbortt/spring-core-34764-reproducer.
I would be open to help with solving the case, if someone can point me into a direction 😉 also, if you think that change in behavior is intended, please let me know!
The text was updated successfully, but these errors were encountered: