1.VMware下的inux启动tomcat后,物理主机无法访问
解决方法:
    关闭虚拟机中的防火墙服务:执行
    service iptables stop --停止
 
 
2.hadoop运行内存溢出
export HADOOP_OPTS="-Xmx4096m"
 
 3.java编译出现  cannot find symbol错误

/common/src/main/java/com/vos/common/util/DateUtil.java:[167,39] cannot find symbol
symbol : method format(java.util.Calendar,java.lang.String,java.util.TimeZone)
location: class org.apache.commons.lang.time.DateFormatUtils

原因:pom.xml里的Common-lang包版本太低,导致没有没有那个类(或方法)

解决:匹配版本

相关文章:

  • 2022-12-23
  • 2021-11-03
  • 2021-10-02
  • 2021-11-21
  • 2021-04-30
  • 2021-06-20
  • 2021-09-12
  • 2021-12-26
猜你喜欢
  • 2022-12-23
  • 2021-07-24
  • 2021-09-15
  • 2021-10-18
  • 2021-05-30
相关资源
相似解决方案