在Docker上如何部署Spring云数据stream
我使用https://github.com/spring-cloud/spring-cloud-dataflow/tree/master/spring-cloud-dataflow-app-launcher ,
操作系统:Ubuntu 15.10
然后
$ mvn package docker:build $ docker-compose up
但遇到错误:
timesource_1 | java.lang.IllegalStateException: No 'Start-Class' manifest entry specified in jar:file:/root/.m2/repository/org/springframework/cloud/stream/module/time-source/1.0.0.BUILD-SNAPSHOT/time-source-1.0.0.BUILD-SNAPSHOT.jar!/ timesource_1 | at org.springframework.boot.loader.archive.Archive.getMainClass(Archive.java:57) timesource_1 | at org.springframework.boot.loader.ExecutableArchiveLauncher.getMainClass(ExecutableArchiveLauncher.java:69) timesource_1 | at org.springframework.boot.loader.Launcher.launch(Launcher.java:61) timesource_1 | at org.springframework.cloud.dataflow.app.launcher.ModuleJarLauncher.launch(ModuleJarLauncher.java:47) timesource_1 | at org.springframework.cloud.dataflow.app.launcher.ModuleLauncher.launchModule(ModuleLauncher.java:238) timesource_1 | at org.springframework.cloud.dataflow.app.launcher.ModuleLauncher.launchIndividualModules(ModuleLauncher.java:228) timesource_1 | at org.springframework.cloud.dataflow.app.launcher.ModuleLauncher.launch(ModuleLauncher.java:100) timesource_1 | at org.springframework.cloud.dataflow.app.launcher.ModuleLauncherRunner.run(ModuleLauncherRunner.java:67) timesource_1 | at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:806) timesource_1 | at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:790) timesource_1 | at org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:777) timesource_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:308) timesource_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191) timesource_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180) timesource_1 | at org.springframework.cloud.dataflow.app.launcher.ModuleLauncherApplication.main(ModuleLauncherApplication.java:45) timesource_1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) timesource_1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) timesource_1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) timesource_1 | at java.lang.reflect.Method.invoke(Method.java:498) timesource_1 | at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54) timesource_1 | at java.lang.Thread.run(Thread.java:745)
我的方法错误吗?或者如何在docker上部署?
- Docker – Bash:IP:命令未find
- 要运行Windows应用程序的自动化testing没有监视器,我的意思是,我不想要UI,在内存中运行testing
- ECONNREFUSED 127.0.0.1:3306到jenkins里面的mysql容器
- 如何在Spring引导应用程序中使用Active Directory docker映像进行授权
- 如何在Dockerfile中运行bash函数
- Bluemix创build连接到另一个容器的容器组
- 从本地运行的Bluemix Liberty泊坞窗镜像访问Liberty日志文件
- 我如何configurationDocker与我的ens34networking接口(而不是eth0)?
- 合并两个docker图像