I have a Spring Roo project and I'm trying to use the permissionEvaluator command to secure the application. Command:
permissionEvaluator --package com.company.app.controllers
The following error is thrown,
NullPointerException at org.springframework.roo.addon.security.PermissionEvaluatorMetadataProvider.getMetadata(PermissionEvaluatorMetadataProvider.java:150)
I'm using the Roo Shell in STS installed on Eclipse Luna SR2. Is there some extra addon I need to add to my pom.xml for this to work? Thank you.
Full error,
Created SPRING_CONFIG_ROOT/applicationContext-security-permissionEvaluator.xml
Created SRC_MAIN_JAVA/com/company/app/web/ApplicationPermissionEvaluator.java
Undo create SRC_MAIN_JAVA/com/company/app/web/ApplicationPermissionEvaluator.java
Undo create SPRING_CONFIG_ROOT/applicationContext-security-permissionEvaluator.xml
NullPointerException at org.springframework.roo.addon.security.PermissionEvaluatorMetadataProvider.getMetadata(PermissionEvaluatorMetadataProvider.java:150)
Aucun commentaire:
Enregistrer un commentaire