Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor fails for source with unresolved dependencies #1517

Closed
eric-milles opened this issue Oct 30, 2023 · 0 comments
Closed

Editor fails for source with unresolved dependencies #1517

eric-milles opened this issue Oct 30, 2023 · 0 comments
Assignees
Labels
Milestone

Comments

@eric-milles
Copy link
Member

Consider the following:

@Grab('org.springframework.security:spring-security-config:5.7.11')
import org.springframework.security.config.annotation.authentication.builders.*
import org.springframework.security.config.annotation.web.configurers.*
import org.springframework.security.config.annotation.web.builders.*
@Grab('org.springframework.security:spring-security-web:5.7.11')
import org.springframework.security.web.*
//@Grab('javax.servlet:servlet-api:2.5')

class MyConfigurer extends AbstractHttpConfigurer<MyConfigurer, HttpSecurity> {}

SecurityFilterChain securityFilterChain(HttpSecurity http) {
  http.apply(new MyConfigurer())//...
}

Without the servlet-api dependency, the editor shows an error for missing class files. And if the editor is then closed and reopened, it shows a red X and the source cannot be viewed or edited. Also there are quite a few errors in the Error Log view.

@eric-milles eric-milles self-assigned this Oct 30, 2023
@eric-milles eric-milles added this to the v5.2.0 milestone Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant