In activeweb 2.0, if there is a space in the tomcat installation directory, then there will be no packages, so can not found the correct Controller and action.
Because the space will be replaced with '%20'
when we use the classLoader get current class's directory.
there is the code in org.javalite.activeweb.ControllerPackageLocator
source code
If you feel this is a defect in the framework, please file a new issue here: https://github.com/javalite/activeweb/issues
Having spaces in directory and files names will get you in trouble universally.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.