Attribute p:formClass not allowed here

Answered

Hello I have this problem that I cant solve.
I have a xml file that is configured like this:

Then I have my beans:


There you can see that p:formClass is clearly detected. But suddenly in other bean:


Attribute p:formClass is in red. Saying that Attribute p:formClass not allowed here

Is very frustrating cause then my file is

I have to say that everything runs without problems. My application and the beans injection works. Its just some sort of inspection.
I've already tried to disabled all kind of code inspections but nothing works. The only thing that works is to mark the file as plain text but of course thats just a bad work around.

0
2 comments

Hello, could you please create a demo project to reproduce a problem?

0
Avatar
Permanently deleted user

really?

0

Please sign in to leave a comment.