Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经在 ubuntu 12.04 中安装了 tomcat7。现在,当我尝试启动服务时,出现此错误:
无效的 CATALINA_BASE:/var/lib/tomcat7
Tomcat7 安装在该目录下/usr/share/tomcat7。
/usr/share/tomcat7
我该如何解决?
/usr/share/tomcat7是 CATALINA_HOME 目录。CATALINA_BASE 是 Tomcat 实例的目录。很可能该目录不存在。
您可以使用命令为 Tomcat 实例创建整个目录结构tomcat7-instance-create <instance_name>。如果该命令不可用,您需要安装 tomcat7-user ( apt-get install tomcat7-user)。
tomcat7-instance-create <instance_name>
apt-get install tomcat7-user
CATALINA_BASE 可以在/etc/default/tomcat7.
/etc/default/tomcat7
对于我的博士工作,我使用的是 C++ CGAL 库提供的 dD Geometry Kernel。
我的基本目标:我想通过顺序添加一个新点来构建一系列维度增长的超球体,直到达到任意维度 d。第一个超球