I am using CustomPackageScanner instead PackageScanner. CustomPackageScanner is duplicate of PackageScanner. To identify the problem i added logger message in CustomPackageScanner class.
INFO - CustomPackageScanner - Package name: org.sample
INFO - CustomPackageScanner - Number of directory: 1
INFO - CustomPackageScanner - Directory name: file:/home/madasamy/.m2/repository/org/sample/restapi/common/restapi-common/1.0-SNAPSHOT/restapi-common-1.0-SNAPSHOT.jar!/org/sample
INFO - CustomPackageScanner - Directory does not exists: file:/home/madasamy/.m2/repository/org/sample/restapi/common/restapi-common/1.0-SNAPSHOT/restapi-common-1.0-SNAPSHOT.jar!/org/sample
INFO - CustomPackageScanner - Number of classes: 0
The wicket rest annotations work for single module project.
To follow this step to recreate this issue.
H3. My observation console logger
I am using CustomPackageScanner instead PackageScanner. CustomPackageScanner is duplicate of PackageScanner. To identify the problem i added logger message in CustomPackageScanner class.