Home > Back-end >  Shiro1.4 upgrade to 1.7 after startup error can't find ShiroWebMvcAutoConfiguration. Class file
Shiro1.4 upgrade to 1.7 after startup error can't find ShiroWebMvcAutoConfiguration. Class file

Time:12-22

I am a Java development, because recently appeared shiro1.4 version is decompiled serialization invasion problem, now in accordance with the requirements for leadership to shiro upgrade to version 1.7, but now has a problem, because the title place limited only to write, now where I put the key issue to report errors, see which way the great god can help me solve the problem
To read the newspaper first wrong
 
Java. Lang. An IllegalStateException: Unable to read for the class with a meta - data org). Apache shiro. Spring.
The config. Web. Autoconfigure. ShiroWebMvcAutoConfiguration

Under Caused by: Java. IO. FileNotFoundException: class path resource [org/apache shiro/spring/
The config/web/autoconfigure/ShiroWebMvcAutoConfiguration. Class] always be the opened because it
Does not exist

The above is the brief error,
Can now find out is that the jars, is certainly exist,

Second, also can pass in the code to write the address and then Ctrl + left mouse button, jump to the ShiroWebMvcAutoConfiguration. The class this page
Which proves that this address is valid,

So my judgement is that he will get to this path is wrong,
You can look at the path
In [behind, org there is a space in front,

This is I'm going to say, and third, I cleared access to other address, the first position, no Spaces,
But I am trying to identify the along while also didn't screen out why,
And I go back to shiro1.4. Jar or shiro1.6. The jar doesn't exist the problem,
So I have reason to suspect that is a question of shiro1.7 jar package,
But, after all, is a rookie, dare not disorderly assertions, so in the gf hero post, hope can solve this problem, the
I hope you upgrade to 1.7 each hero who can discuss together,

CodePudding user response:

By the way, I find the Internet a day only found a problem similar to my blog address, but I can't apply his solution, he is in before with good address error, and in his own are my address wrong
Click here to jump

CodePudding user response:

In this class try: ShiroWebAutoConfiguration

CodePudding user response:

refer to the second floor KeepSayingNo response:
try in this class: ShiroWebAutoConfiguration

No, no, no, I don't have any place inside the code call say ShiroWebMvcAutoConfiguration this document or statement of his place, also have no way to go to call you say ShiroWebAutoConfiguration this file,
When since the launch of his own to scan call to,
  • Related