Git Product home page Git Product logo

lolibox's Introduction

关于我

主要写Java后端,偶尔用vue、react等写前端,groovy、nodejs都会一点点,最近在用kotlin。

使用Linux桌面有17年的时间,目前主力机是一台安装了Arch Linux的组装机。

OS

ArchLinux

Language

Java Groovy Kotlin Javascript Vue

lolibox's People

Contributors

bryant1410 avatar chocotan avatar indust avatar nekolr avatar superalsrk avatar zvonimirsun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lolibox's Issues

尝试在maven:3-jdk-8中进行编译,出现错误

开始报错的部分如下,不知道什么原因。

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Error: Could not find or load main class org.apache.maven.surefire.booter.ForkedBooter

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Lolibox 0.2.6-SNAPSHOT:
[INFO]
[INFO] Lolibox ............................................ SUCCESS [02:14 min]
[INFO] lolibox-server ..................................... FAILURE [01:35 min]
[INFO] lolibox-reverse-proxy .............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  04:02 min
[INFO] Finished at: 2019-02-08T13:09:21Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project lolibox-server: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /usr/src/app/lolibox-server && /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -jar /usr/src/app/lolibox-server/target/surefire/surefirebooter4830271271987322718.jar /usr/src/app/lolibox-server/target/surefire/surefire6419766121330413546tmp /usr/src/app/lolibox-server/target/surefire/surefire_05453575075431408237tmp
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :lolibox-server
ERROR: Service 'lolibox' failed to build: The command '/bin/sh -c mvn clean install -U' returned a non-zero code: 1

最后一步运行后,请帮忙看下是什么问题。。

运行./lolibox-server/target/lolibox-server-0.2.3-SNAPSHOT.jar后

2016-05-20 17:09:26.571 INFO 1621 --- [ main] o.s.c.support.DefaultLifecycleProcessor : Starting beans in phase 0 2016-05-20 17:09:26.742 INFO 1621 --- [ main] o.s.c.support.DefaultLifecycleProcessor : Starting beans in phase 2147483647 2016-05-20 17:09:26.831 INFO 1621 --- [ main] c.n.h.c.m.e.HystrixMetricsPoller : Starting HystrixMetricsPoller 2016-05-20 17:09:26.835 INFO 1621 --- [ main] ration$HystrixMetricsPollerConfiguration : Starting poller 2016-05-20 17:09:26.842 WARN 1621 --- [ main] o.s.c.n.zuul.web.ZuulHandlerMapping : No routes found from ProxyRouteLocator 2016-05-20 17:09:27.240 INFO 1621 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8899 (http) 2016-05-20 17:09:27.352 INFO 1621 --- [ main] io.loli.box.LoliboxApplication : Started LoliboxApplication in 63.442 seconds (JVM running for 64.552)

然后浏览器输入http://IP地址:8899/admin.html
`连接超时

XXX 的服务器响应时间过长。

此站点暂时不可用或者太忙。请稍后再试。
如果您无法载入任何页面,请检查您计算机的网络连接。
如果您的计算机或网络受到防火墙或者代理服务器的保护,请确认 Firefox 已被授权访问网络。`

环境是ubuntu 14.04。oneinstack安装的LNMT

java -version

java
version "1.8.0_92"
Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode)

mvn --version

Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.8.0_92, vendor: Oracle Corporation
Java home: /usr/java/jdk1.8.0_92/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.13.0-36-generic", arch: "amd64", family: "unix"

application.properties文件:

spring.application.name=lolibox

Server port

server.port=8899

Server address

server.address=

Max upload size

multipart.max-file-size=20MB

Advanced management path

management.context-path=/admin/

Your email

email=XXXX

Password

password=XXXX

Another path for CDN

cdnHost=

imgHost=

storage.type can be 'filesystem', 'aliyun'

storage.type=filesystem

Where images saved while storage.type is 'filesystem'

storage.filesystem.imgFolder=/data/wwwroot/default/home/choco/lolibox/

aliyun cloud storage settings

storage.aliyun.url=

storage.aliyun.key=

storage.aliyun.secret=

storage.aliyun.name=

Qiniu cloud storage settings

storage.qiniu.key=

storage.qiniu.secret=

storage.qiniu.name=

Baidu cloud storage settings

storage.baidu.key=

storage.baidu.secret=

storage.baidu.url=

storage.baidu.name=

spring.h2.console.enabled=true
spring.h2.console.path=/admin/h2-console
spring.jpa.hibernate.ddl-auto=update
spring.datasource.url=jdbc:h2:file:~/lolibox/db;FILE_LOCK=FS
spring.datasource.username=sa
spring.datasource.password=sa
spring.jms.pub-sub-domain=true

页面样式错误

目前你忘记调整 links-result 的高度了,目前仍然适配的三行。

另外你忘记调整 panel-body 的高度了,footer 被遮住了,可喜可贺。 ( ´_ゝ`)

安装的时候遇到一个错误

安装的时候,执行mvn clean package遇到一个错误

[INFO] Scanning for projects...
Downloading: https://repo.spring.io/snapshot/org/springframework/cloud/spring-cloud-starter-parent/Brixton.M3/spring-cloud-starter-parent-Brixton.M3.pom
Downloading: https://repo.spring.io/milestone/org/springframework/cloud/spring-cloud-starter-parent/Brixton.M3/spring-cloud-starter-parent-Brixton.M3.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not transfer artifact org.springframework.cloud:spring-cloud-starter-parent:pom:Brixton.M3 from/to spring-snapshots (https://repo.spring.io/snapshot): java.security.ProviderException: java.security.KeyException @ line 55, column 25
[ERROR] 'dependencies.dependency.version' for org.springframework.cloud:spring-cloud-starter-zuul:jar is missing. @ line 47, column 21
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project io.loli:lolibox:0.2.3-SNAPSHOT (/root/lolibox/pom.xml) has 2 errors
[ERROR] Non-resolvable import POM: Could not transfer artifact org.springframework.cloud:spring-cloud-starter-parent:pom:Brixton.M3 from/to spring-snapshots (https://repo.spring.io/snapshot): java.security.ProviderException: java.security.KeyException @ line 55, column 25 -> [Help 2]
[ERROR] 'dependencies.dependency.version' for org.springframework.cloud:spring-cloud-starter-zuul:jar is missing. @ line 47, column 21
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.