Skip to content

@LocatorApplication does not work with @EnableSecurity #118

Closed
@janmaslik

Description

@janmaslik
@UseLocators
@SpringBootApplication
@LocatorApplication(name = "Locator")
@EnableSecurity
public class GeodeLocatorApplication  
{
	public static void main(String[] args) 
        {
		new SpringApplicationBuilder(GeodeLocatorApplication.class)
			.web(WebApplicationType.NONE)
			.build()
			.run(args);

		System.err.println("Press <enter> to exit!");

		new Scanner(System.in).nextLine();
	}

}

using

<groupId>org.springframework.geode</groupId>
<artifactId>spring-geode</artifactId>
<version>1.6.9</version>

Error:
A component required a bean named 'gemfireCache' that could not be found.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions