使用TOMCAT+Mysql税控服务器访问时提示HTTP Status 404 - /SKServer/

HTTP Status 404 - /SKServer/


type Status report

message /SKServer/

description The requested resource is not available.


Apache Tomcat/7.0.65

需要在 vim /etc//hosts 文件里添加一条 127.0.0.1 NISEC-XXXX(计算机名)

查看计算名称:hostname

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
127.0.0.1   NISEC-4713
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

检查日志中mysql数据库是否连接异常

   Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
  Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.

[org.springframework.web.context.ContextLoader] (ContextLoader.java:319).initWebApplicationContext - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mapScheduler' defined in class path resource [applicationContext-quartz.xml]: Invocation of init method failed; nested exception is org.quartz.JobPersistenceException: Couldn't retrieve trigger: Table 'skdata.QRTZ_TRIGGERS' doesn't exist [See nested exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'skdata.QRTZ_TRIGGERS' doesn't exist]

象之类的报错,如果有需要检查数据库连接问题。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值