Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Idea 13 cannot parse valid java source

$
0
0

Hi all

some valid java source code (spring security java configuration) cannot be resolved correctly in Idea 13 editor

attached is a screenshot

 

 

@Configuration
@EnableWebSecuritypublicclass SecurityConfig extends WebSecurityConfigurerAdapter {    @Override    protectedvoid configure(HttpSecurity http) throws Exception {        http                .authorizeRequests()                .anyRequest().authenticated()                .and()                .formLogin()                .loginPage("/login")                .permitAll(); }

 

I got the message "Cannot resolve method formLogin()"

 

this code compile and run fine using the jdk 6, 7 compiler

Is this a feature, a bug, if so, is it reported?

 

Thanks


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>