2019-03-26 11:42

@山东小木 run as-jfinal java application出现jbolt.properties not exist错误,另一台电脑上这样运行成功

2018-03-28 10:06

三月 28, 2018 9:52:28 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'xmlNamespaceAware' to 'false' did not find a matching property.
三月 28, 2018 9:52:28 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'xmlValidation' to 'false' did not find a matching property.
三月 28, 2018 9:52:28 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
三月 28, 2018 9:52:28 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version: Pivotal tc Runtime 3.1.1.RELEASE/7.0.62.A.RELEASE
三月 28, 2018 9:52:28 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built: Jun 3 2015 17:46:42 UTC
三月 28, 2018 9:52:28 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number: 7.0.62.0
三月 28, 2018 9:52:28 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name: Windows 7
三月 28, 2018 9:52:28 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version: 6.1
三月 28, 2018 9:52:28 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture: amd64
三月 28, 2018 9:52:28 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home: C:\Java\jdk1.8\jre
三月 28, 2018 9:52:28 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version: 1.8.0_112-b15
三月 28, 2018 9:52:28 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor: Oracle Corporation
三月 28, 2018 9:52:28 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE: F:\sdyp\JavaProgram
三月 28, 2018 9:52:28 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME: F:\sdyp\tomcat-7.0.62
三月 28, 2018 9:52:28 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=F:\sdyp\JavaProgram
三月 28, 2018 9:52:28 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=F:\sdyp\tomcat-7.0.62
三月 28, 2018 9:52:28 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dwtp.deploy=F:\sdyp\JavaProgram\weixin_guide
三月 28, 2018 9:52:28 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=F:\sdyp\tomcat-7.0.62\endorsed
三月 28, 2018 9:52:28 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dfile.encoding=UTF-8
三月 28, 2018 9:52:28 上午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Java\jdk1.8\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Java/jre/bin/server;C:/Java/jre/bin;C:/Java/jre/lib/amd64;F:\CloudSync\program\apache-maven\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Java\jdk1.8\bin;C:\Java\jdk1.8\jre\bin;d:\MySQL;d:\MySQL\bin;;E:\eclipse;;.
三月 28, 2018 9:52:28 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-80"]
三月 28, 2018 9:52:28 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
三月 28, 2018 9:52:28 上午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 319 ms
三月 28, 2018 9:52:28 上午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
三月 28, 2018 9:52:28 上午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Pivotal tc Runtime 3.1.1.RELEASE/7.0.62.A.RELEASE
三月 28, 2018 9:52:28 上午 org.apache.catalina.startup.TldConfig execute
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
三月 28, 2018 9:52:28 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-80"]
三月 28, 2018 9:52:28 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
三月 28, 2018 9:52:28 上午 org.apache.catalina.startup.Catalina start
信息: Server startup in 229 ms
请问这个启动成功了吗?没有看到welcome to jfinal world

2017-05-04 10:39

这个类似于mybatis的生成工具?

2017-02-28 08:50

@SillyBoy 另外无需登录,直接打开http://localhost/qingcai-back/blog.html就能进入后台,说明安全验证还有问题

2017-02-27 22:30

@SillyBoy 我用的eclipse+tomcat,应该是按你的步骤来的,除了两个地方不明白:一是html静态化目录我应该写成什么样的路径;二是me.huding.luobo.back.StaticsUtils.java中的两个地方我要不要修改。但是我说的包含layui的js代码的html文件打开都说是请求异常,在不使用任何环境,直接从资源管理器打开html文件也出现

2017-02-27 17:06

@SillyBoy 所有包含layui的js代码的html文件打开都说是请求异常,不包含的正常,在资源管理器中直接打开也是如此

2017-02-26 22:08

@SillyBoy 验证码不出现的原因是/luobo/admin/validateCode既没有定义也没有在AdminRoutes中配置

2017-02-24 17:14

@SillyBoy 怎么首页出不来,说是请求异常,后台验证码出不来,静态化目录怎样设置路径,这个STATICS_ROOT_PATH = /Users/jianhonghu/gitRepository/GitHub/blog/qingcai-fron

2016-10-19 21:18

上面这个代码还是行得通的,但是如果对其中的某几个jsp文件比如login.jsp不拦截过滤该如何处理?

2016-09-15 16:48

search代码:
public void search(){
String keyword=getPara("searchtext");//接收关键词文本输入文本
String keyword2=getSessionAttr("keyword2");//接收session供第2页以上的页面使用
Page articlepage;
if (keyword!=null){
if (keyword2!=null){
if (keyword!=keyword2){
keyword2=keyword;
}
articlepage=Article.dao.paginate(getParaToInt(0, 1), 20, "select *", " from article where Title like '%"+keyword2+"%' order by ID DESC");
}else{
articlepage=Article.dao.paginate(getParaToInt(0, 1), 20, "select *", " from article where Title like '%"+keyword+"%' order by ID DESC");
setSessionAttr("keyword2", keyword);
}
List articlelist=articlepage.getList();
int begin = 0;
int end = 0;
//最多显示当前页面的前后20个页码
if (articlepage.getPageNumber() - 20 < 1) {
begin = 1;
} else {
begin = articlepage.getPageNumber() - 20;
}
if (articlepage.getTotalPage() < articlepage.getPageNumber() + 20) {
end = articlepage.getTotalPage();
} else {
end = articlepage.getPageNumber() + 20;
}
setAttr("begin", begin);
setAttr("end", end);
setAttr("articles", articlelist);
setAttr("pages", articlepage);
render("article_search_list.jsp");
}
}