我主持了我的网站; 一个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在/我的主机的
将应用程序 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)
信息:
谢谢你。