chinalhr / javaquarkbbs Goto Github PK
View Code? Open in Web Editor NEW基于Spring Boot实现的一个简易的Java社区
License: Apache License 2.0
基于Spring Boot实现的一个简易的Java社区
License: Apache License 2.0
一、对用户的评论进行回复
二、点赞回复
三、收藏帖子
真的很想向大牛们学习一下,感觉技术架构很前卫,想学习,单苦于无法运行,
希望团队能出一份,部署教程,3个war包,1个jar包 分别如何部署
☁ quark-portal [master] ⚡ mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building quark-portal 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ quark-portal ---
[INFO] Deleting /Users/lesvere/Code/Java/JavaQuarkBBS/quark-portal/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ quark-portal ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 162 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ quark-portal ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 16 source files to /Users/lesvere/Code/Java/JavaQuarkBBS/quark-portal/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] 不再支持源选项 1.5。请使用 1.6 或更高版本。
[ERROR] 不再支持目标选项 1.5。请使用 1.6 或更高版本。
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.868 s
[INFO] Finished at: 2018-02-03T17:59:24+08:00
[INFO] Final Memory: 16M/55M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project quark-portal: Compilation failure: Compilation failure:
[ERROR] 不再支持源选项 1.5。请使用 1.6 或更高版本。
[ERROR] 不再支持目标选项 1.5。请使用 1.6 或更高版本。
[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/MojoFailureException
☁ quark-portal [master] ⚡
请问IDE工具是哪个来构建的项目呢?
我使用Myeclipse和IntelliJ IDE来导入都不行。
login页面的账号和密码是多少啊?
【Vulnerability Description】
There is a Cross Site Scripting attack (XSS) vulnerability in the full version of JavaQuarkBBS. By entering specific statements into the background tag management module, the attack statement will be stored in the database, and the next victim will be attacked when he accesses the tag module.
【Vulnerability Type】
Cross Site Scripting (XSS)
【Affected Version】
<=v2
【Vulnerability Verification】
Find the Background Label Management module, select the new location and enter
<script>alert(“标签管理名称”)<script>
【Repair Suggestions】
Strict filtering of user input data
java: 对于DefaultEventLoopGroup(int,<匿名java.util.concurrent.ThreadFactory>), 找不到合适的构造器
构造器 io.netty.channel.DefaultEventLoopGroup.DefaultEventLoopGroup(int,java.util.concurrent.Executor)不适用
(参数不匹配; <匿名java.util.concurrent.ThreadFactory>无法转换为java.util.concurrent.Executor)
构造器 io.netty.channel.DefaultEventLoopGroup.DefaultEventLoopGroup(int,io.netty.util.concurrent.ExecutorServiceFactory)不适用
(参数不匹配; <匿名java.util.concurrent.ThreadFactory>无法转换为io.netty.util.concurrent.ExecutorServiceFactory)
MyShiroRealm 是通过new出来的,那么调用这个类时候,里面的adminUserService是怎么注入进来的呢
麻烦问下,这个项目怎么导入 我导入过程中不知道哪里不对 启动失败了
看各个模块里的pom文件打包都是war,是要部署的tomcat中吗? 还是说使用maven运行spring-boot:run呢?
运行起来项目之后,拿着lhr 和root登陆不了,一登陆网页就是404,也不报错。就是整个页面就没有了。像是地址输错的那种。
你好,我在运行jar包时报错说jar中没有主清单属性,这种情况是为什么呢,感谢感谢
新手,请教一下该工程该如何打包部署,求教
本着学习的目的把这个项目clone。下面说一下我的部署过程把。
1 项目的数据库配置是在 quark-common\src\main\resources\application.properties中
2 数据库的建表语句在H:\gitPro\JavaQuarkBBS\resource\sql。数据库sql文件
3 maven编译的时候制定下jdk的版本,还有就是打包方式写成jar。原工程的打包方式是war。编译的时候报错,这是个spring-boot项目,打成jar就可以。
其他的暂时没问题了。我这里访问后台管理页面点解login的时候,网页加载不出来。不知道为什么。管理员的账号和密码分别是lhr和root。
项目分层架构是不错,但是对于互联网的web项目来说SEO就很差了。所有的请求都是json请求,爬虫、蜘蛛对于这种json请求的友好度很差。
默认是127.0.0.1的话 找不到啊
SQL文件有么?怎么跑起来
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.