Selena - Spring Validation on Compile
I noticed to my enjoyment that when I compiled my application under Selena last night that IDEA went through a Spring validation process..
Sadly - it took for AGES to run... and then it gave me an ERROR from missing bean declarations...
The missing beans were declared in other spring context files and are functionally "correct", even if on their own they're not (I got around this by simply making the error into a warning).
I wonder if it would good to split this into a two step warnings/error - bean not defined in THIS context (available in another) WARNING and "not defined in ANY context" as an ERROR?
请先登录再写评论。
more generally, validators should be switchable
http://www.jetbrains.net/jira/browse/IDEA-11093
I also have some problems with the validation:
... ]]>
org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean implements FactoryBean and returns a SessionFactory....
On every usage of "sessionFactory" an error is shown (e.g. "No matching constructor").
Please fix this asap.
What usage do you mean? Please give an example.
"Johannes Schneider" <idea@johannes-schneider.info> wrote in message
news:24887568.1169460016358.JavaMail.itn@is.intellij.net...
>I also have some problems with the validation:
>
>
>
Entry.hbm.xml ... org.hibernate.dialect.HSQLDialect update ]]>Idea marks "de.avat.tools.recorder.io.HibernatePersistenceSupport" red. The statusbar says "No matching constructor found in class de.avat.tools.recorder.io.HibernatePersistenceSupport".
The HibernatePersistenceSupport has just one single constructor:
One more problem:
An import statement like this:
is marked red when the file "persistence.spr.xml" is provided within a jar file and not within the module itself...
http://www.jetbrains.net/jira/browse/IDEADEV-13543
>> I also have some problems with the validation:
>>
>> > class="org.springframework.orm.hibernate3.annotation.AnnotationSessio >> nFactoryBean"> >> .. >> >> org.springframework.orm.hibernate3.annotation.AnnotationSessionFactor >> yBean >> implements FactoryBean and returns a SessionFactory.... >> On every usage of "sessionFactory" an error is shown (e.g. "No >> matching >> constructor"). >> Please fix this asap. >>]]>
Could you file a request for this?