先熟悉源码,再fork
fork麻烦,因为要跟trunk同步
URL
http://git.oschina.net/inxeduopen/inxedu
http://git.oschina.net/inxeduopen/inxedu
D:SoftwareTomcat-7.0.34incatalina.bat run
D:SoftwareTomcat-7.0.34incatalina.bat stop
我自己的要改成:
D:Softwareapache-tomcat-7.0.34incatalina.bat run
D:Softwareapache-tomcat-7.0.34incatalina.bat stop
能看视频了
改前端界面
加点酷炫的效果
inxedu项目的所有的依赖包-lib
你知道怎么搭建本地的MongoDB 吗
数据 管理端口
我想上传 inxedu项目的所有的依赖包-lib 到群文件,但没有权限。
之前看到有人用 Maven 下载依赖包,但失败
fork
本地的
<!-- lombok自动注解 -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
IDEA 中,怎么把被Maven管理的lib包拷贝给别人,自动收集
方案1(最优):把web项目打包成war包,里面的lib文件夹里的就是依赖包
方案2:Maven 的 dependency插件:http://outofmemory.cn/maven/FAQ/how-to-copy-dependency-to-lib-folder
方案3:手动去IDEA 的左侧找各自在本地Maven 仓库的具体路径,右键,show in browser
maven如何将项目引用的所有jar包复制到lib文件夹内
下面的平均值
考频
考点难度
真题的数量 / 总的题目(真题+试题)数量
在自己本地搭建环境
fork
预估时间回去做
3月搞代码
交代码的时间
答辩流程
初稿的时间
最终的时间
demo_inxedu_opensrcmainjavacominxeduoseduconstantsenumsWebSiteProfileType.java
这个文件添加一行
emailConfigure,
不然会报错
还有就是改完后,发送找回密码的邮件,会提示 系统繁忙,怎么解决
这个文件添加一行
emailConfigure,
不然会报错
还有就是改完后,发送找回密码的邮件,会提示 系统繁忙,怎么解决
java.lang.NullPointerException: null
at com.inxedu.os.common.service.email.EmailServiceImpl.sendMail(EmailServiceImpl.java:47) ~[inxedu-jar.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_92]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_92]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_92]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_92]
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-3.2.12.RELEASE.jar:3.2.12.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.2.12.RELEASE.jar:3.2.12.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.2.12.RELEASE.jar:3.2.12.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) ~[spring-tx-3.2.12.RELEASE.jar:3.2.12.RELEASE]
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) ~[spring-tx-3.2.12.RELEASE.jar:3.2.12.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) ~[spring-tx-3.2.12.RELEASE.jar:3.2.12.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.2.12.RELEASE.jar:3.2.12.RELEASE]
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) ~[spring-aop-3.2.12.RELEASE.jar:3.2.12.RELEASE]
at com.sun.proxy.$Proxy20.sendMail(Unknown Source) ~[na:na]
at com.inxedu.os.edu.controller.user.UserController.sendEmail(UserController.java:608) ~[UserController.class:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_92]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_92]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_92]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_92]
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215) [spring-web-3.2.12.RELEASE.jar:3.2.12.RELEASE]
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) [spring-web-3.2.12.RELEASE.jar:3.2.12.RELEASE]
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) [spring-webmvc-3.2.12.RELEASE.jar:3.2.12.RELEASE]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745) [spring-webmvc-3.2.12.RELEASE.jar:3.2.12.RELEASE]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:685) [spring-webmvc-3.2.12.RELEASE.jar:3.2.12.RELEASE]
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) [spring-webmvc-3.2.12.RELEASE.jar:3.2.12.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:919) [spring-webmvc-3.2.12.RELEASE.jar:3.2.12.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:851) [spring-webmvc-3.2.12.RELEASE.jar:3.2.12.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953) [spring-webmvc-3.2.12.RELEASE.jar:3.2.12.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:855) [spring-webmvc-3.2.12.RELEASE.jar:3.2.12.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) [servlet-api.jar:na]
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829) [spring-webmvc-3.2.12.RELEASE.jar:3.2.12.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) [servlet-api.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) [catalina.jar:7.0.34]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.34]
at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:131) [sitemesh-2.5.jar:na]
at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77) [sitemesh-2.5.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.34]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.34]
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) [spring-web-3.2.12.RELEASE.jar:3.2.12.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106) [spring-web-3.2.12.RELEASE.jar:3.2.12.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.34]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.34]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) [catalina.jar:7.0.34]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) [catalina.jar:7.0.34]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) [catalina.jar:7.0.34]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.34]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) [catalina.jar:7.0.34]
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) [catalina.jar:7.0.34]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [catalina.jar:7.0.34]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) [catalina.jar:7.0.34]
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) [tomcat-coyote.jar:7.0.34]
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) [tomcat-coyote.jar:7.0.34]
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1822) [tomcat-coyote.jar:7.0.34]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_92]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_92]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_92]
问题和解决方案
Chrome无法读取本地的.json文件
打开快捷方式的属性,不是exe的:
--allow-file-access-from-files
最前面可能要留一个空格
参考博客:
http://blog.csdn.net/dandanzmc/article/details/31344267/
file:///E:/web/FrontEnd/jquery-easyui-1.5.1/demo/datalist/multiselect.html
为什么轮播图的图片变回来了
学员的前端页面全部崩,没有布局乱了
项目配置文件里,端口改成跟Tomcat的端口一样的
首页的东西加载不完全,Chrome和 IE 里,因为无法跨域请求,所以 jQuery 加载不下来,结果导致首页只有加载失败的青色小鸟的图片
用IP访问就不会出现 无法跨域请求
http://127.0.0.1:8080/