原内容已经过时,请移步到最新文档 ——《Solo 从设计到实现》。
- Solo
-
开发指南
8 引用 • 757 回帖
-
Java
3186 引用 • 8212 回帖
Java 是一种可以撰写跨平台应用软件的面向对象的程序设计语言,是由 Sun Microsystems 公司于 1995 年 5 月推出的。Java 技术具有卓越的通用性、高效性、平台移植性和安全性。
相关帖子
-
yanxingangsun • • 2
- 建议[Solo 开发指南]上的中文说明改为用码云下载(中文说明主要面向国内用户,国内用户码云下载更快),如下:
git clone --recurse-submodules https://gitee.com/b3logos/solo.git
英文说明(如果有的话)通过 github 下载:
git clone --recurse-submodules https://github.com/b3log/solo.git
- 另外“skins(皮肤)”在码云上没有项目分支,所以也是到 github 上下载的,速度也慢,希望能改进一下,在码云上也能下载,谢谢。
[root@VM_0_11_centos ~]# git clone --recurse-submodules https://gitee.com/b3logos/solo.git Cloning into 'solo'... remote: Enumerating objects: 44272, done. remote: Counting objects: 100% (44272/44272), done. remote: Compressing objects: 100% (13923/13923), done. remote: Total 44272 (delta 24766), reused 44214 (delta 24708) Receiving objects: 100% (44272/44272), 88.66 MiB | 2.85 MiB/s, done. Resolving deltas: 100% (24766/24766), done. Submodule 'src/main/webapp/skins' (https://github.com/b3log/solo-skins) registered for path 'src/main/webapp/skins' Cloning into 'src/main/webapp/skins'... remote: Enumerating objects: 1193, done. remote: Counting objects: 100% (1193/1193), done. remote: Compressing objects: 100% (732/732), done. remote: Total 11743 (delta 845), reused 767 (delta 460), pack-reused 10550 Receiving objects: 100% (11743/11743), 23.59 MiB | 256.00 KiB/s, done. Resolving deltas: 100% (8803/8803), done. Submodule path 'src/main/webapp/skins': checked out 'ca0de62bddd9e3bb8732e46b4239001d7f238303' [root@VM_0_11_centos ~]#
以上是本人下载时的命令打印信息。
-
- 其他回帖
-
刚刚重新拷了一次源码,只是下载了依赖,什么都没有改动。
Initailize Solo error: A json object to persist to repository[name=b3_solo_option] does not contain a key[optionValue]
环境 ubuntu+jdk8+idea+maven3.5(还没用到 mysql) 谢谢大佬
[INFO ]-[2018-09-02 01:17:46]-[org.b3log.solo.service.InitService:204]: YOUR DATA will be stored in directory [jdbc:h2:/home/lucky/solo_h2/db], please pay more attention to it~
[ERROR]-[2018-09-02 01:17:46]-[org.b3log.latke.Latkes:863]: Read skin configuration error[msg=null]
[WARN ]-[2018-09-02 01:17:46]-[org.b3log.solo.service.InitService:240]: Retrying to init Solo[retries=2]
[ERROR]-[2018-09-02 01:17:47]-[org.b3log.latke.Latkes:863]: Read skin configuration error[msg=null]
[WARN ]-[2018-09-02 01:17:47]-[org.b3log.solo.service.InitService:240]: Retrying to init Solo[retries=1]
[ERROR]-[2018-09-02 01:17:47]-[org.b3log.latke.Latkes:863]: Read skin configuration error[msg=null]
[WARN ]-[2018-09-02 01:17:47]-[org.b3log.solo.service.InitService:240]: Retrying to init Solo[retries=0]
[ERROR]-[2018-09-02 01:17:47]-[org.b3log.latke.Latkes:863]: Read skin configuration error[msg=null]
[ERROR]-[2018-09-02 01:17:47]-[org.b3log.solo.service.InitService:234]: Initialize Solo error
org.b3log.latke.repository.RepositoryException: A json object to persist to repository[name=b3_solo_option] does not contain a key[optionValue]
at org.b3log.latke.repository.Repositories.check(Repositories.java:193)
at org.b3log.latke.repository.AbstractRepository.add(AbstractRepository.java:107)
at org.b3log.solo.repository.impl.OptionRepositoryImpl__jvstadb_21._d0add(OptionRepositoryImpl__jvstadb_21.java)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.b3log.latke.ioc.bean.JavassistMethodHandler.invoke(JavassistMethodHandler.java:106)1 回复 -
按照上述步骤,git clone 后用
mvn jetty:run
运行报错,错误信息应该是说连接 mysql 失败,难道要先装 mysql 吗?不是说集成了 mysql 在项目发布的文件里吗?第一次尝试 solo,谁能帮忙解答一下?谢谢。打印信息如下:[INFO ]-[2019-06-23 10:38:10]-[com.zaxxer.hikari.HikariDataSource:110]: HikariPool-1 - Starting... [ERROR]-[2019-06-23 10:38:11]-[com.zaxxer.hikari.pool.HikariPool:574]: HikariPool-1 - Exception during pool initialization. com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174) ... at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347) Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ... 72 more Caused by: java.net.ConnectException: Connection refused (Connection refused) at java.base/java.net.PlainSocketImpl.socketConnect(Native Method) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403) at java.base/java.net.Socket.connect(Socket.java:591) at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:155) at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:65) ... 75 more [ERROR]-[2019-06-23 10:38:11]-[org.b3log.solo.service.InitService:186]: Check tables failed, please make sure database existed and database configuration [jdbc.*] in local.props is correct [msg=Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.]
1 回复 -
[WARN ]-[2019-05-21 01:15:03]-[org.b3log.solo.service.InitService:161]: Solo has not been initialized, please open your browser to init Solo [WARN ]-[2019-05-21 01:15:03]-[org.b3log.latke.plugin.PluginManager:148]: Load plugin under directory[/plugins/kanbanniang/] failed[WARN ]-[2019-05-21 01:15:03]-[org.b3log.latke.plugin.PluginManager:148]: Load plugin under directory[/plugins/symphony-interest/] failed [WARN ]-[2019-05-21 01:15:03]-[org.b3log.latke.plugin.PluginManager:148]: Load plugin under directory[/plugins/list/] failed
使用源碼部署提示如上錯誤
1 回复 - 查看全部回帖