如果工程名叫b3log_v2,在Eclipse中启动tomcat直接调试,那么浏览器中的路径是:
http://localhost:8080/b3log_v2/
这样,在latke.properties里,必须修改下列两条:
# Note: The context path and static path should be "" if deploy app on ROOT. For other cases, starts with '/'
# and not ends with '/', for example, /blog
contextPath=/b3log_v2
http://localhost:8080/b3log_v2/
这样,在latke.properties里,必须修改下列两条:
# Note: The context path and static path should be "" if deploy app on ROOT. For other cases, starts with '/'
# and not ends with '/', for example, /blog
contextPath=/b3log_v2
staticPath=/b3log_v2
不过这里还没有建立数据库中的各种表,程序还是走不下来。另文解释!