我正在尝试将Spring应用程序(在本地工作)部署到EB中,它似乎对pom文件中的某些内容进行了扩展,但我无法缩小范围。运行Tomcat8,Java8。我得到了一个更基本的版本,去掉了部署的依赖关系,但这是行不通的。
包括我的eb-activity.log和pom.xml
我在eb活动中遇到的具体错误是:
6813 extra bytes at beginning or within zipfile
(attempting to process anyway)
我的eb-activity.log的一部分如下:
[2016-11-28T21:59:36.320Z] INFO [1738
当我执行gradle clean build --warning-mode=all时,会收到以下警告:
Putting annotation processors on the compile classpath has been deprecated and is scheduled to be removed in Gradle 5.0. Please add them to the processor path instead. If these processors were unintentionally leaked on the compile classpath, use th
我使用的是Ubuntu 14.04和ext4文件系统,它不允许文件名超过143个字符。由于文件名过长,存在导致问题的依赖项。以下是更多详细信息:
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task {task-name}
at ...
Caused by: org.gradle.api.GradleException: Could not expand ZIP '/home/{username}/.gradle/caches/modules-2/files-2.1/
我正在尝试用Jetty代替Tomcat,作为我的嵌入式servlet容器。然后需要使用EmbeddedServletContainerCustomizer()将端口80处的重定向请求配置为端口443 (HTTPS)。但我一开始就被这些渐变构建错误困住了:
RedirectHttpToHttpsOnJettyConfig.java:7:错误:包org.springframework.boot.context.embedded不存在
导入org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizer;
Re
我在archlinux上安装了tomcat,我尝试了tomcat7和tomcat8。根据包括官方文档在内的几个来源,部署WAR文件就像将其放到webapp文件夹中一样容易(在我的例子中是/var/lib/tomcat7 7/webapp)。战争档案被炸了。不过,我不知道如何访问我的web应用程序。在本地主机上:8080有一个tomcat网页。我还尝试了localhost:8080/name of the war-file,但这只允许使用HTTP状态404。
我用于测试的应用程序是关于spring的第一个指南:
我已经修改了maven构建文件pom.xml,以便在运行'mvn包‘时生成一