小编M-B*_*NCH的帖子

我无法访问我的网站Symfony [您无权访问此文件]

我主持了我的网站; 一个Symfony2应用程序,当我尝试访问我的网站时,此消息显示.

You are not allowed to access this file. Check app_dev.php for more information
Run Code Online (Sandbox Code Playgroud)

链接是:

http://something.com/web/app_dev.php/
Run Code Online (Sandbox Code Playgroud)

当我尝试在生产模式下访问时,这是消息:

Fatal error: Class 'AppBundle\AppBundle' not found in /htdocs/app/AppKernel.php on line 19
Run Code Online (Sandbox Code Playgroud)

我没有这个文件夹htdocs/我的主机的

php host symfony

10
推荐指数
1
解决办法
2万
查看次数

无法将战争部署到 Tomcat

将应用程序 war 部署到服务器时出现此错误:

12-Sep-2018 10:21:54.726 SEVERE [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.processAnnotationsJar Unable to process Jar entry [module-info.class] from Jar [file:/xxx/apache-tomcat-8.0.41_xxxx/webapps/xxx/WEB-INF/lib/jaxb-api-2.3.0.jar] for annotations
Run Code Online (Sandbox Code Playgroud)
org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19
Run Code Online (Sandbox Code Playgroud)

信息:

  1. 应用程序是使用 Spring Boot 创建的微服务
  2. 使用的 Java 是版本 8
  3. Tomcat 版本:tomcat-8.0.41

谢谢你。

tomcat spring-boot microservices

2
推荐指数
1
解决办法
3436
查看次数

标签 统计

host ×1

microservices ×1

php ×1

spring-boot ×1

symfony ×1

tomcat ×1