0
我能夠正常運行並獲取結果。 在Play Framework 2.5.3中運行激活器時出現以下錯誤。java.net.UnknownHostException在運行Play Framework Activator時
Warning: node.js detection failed, sbt will use the Rhino based Trireme JavaScript engine instead to run JavaScript assets compilation, which in some cases may be orders of magnitude slower than using node.js.
[error] n.s.e.Cache - Unable to set localhost. This prevents creation of a GUID. Cause was: linux-78et.suse: linux- 78et.suse: unknown error
java.net.UnknownHostException: linux-78et.suse: linux-78et.suse: unknown error
at java.net.InetAddress.getLocalHost(InetAddress.java:1505)
at net.sf.ehcache.Cache.<clinit>(Cache.java:214)
at net.sf.ehcache.config.ConfigurationHelper.createCache(ConfigurationHelper.java:296)
at net.sf.ehcache.config.ConfigurationHelper.createDefaultCache(ConfigurationHelper.java:219)
at net.sf.ehcache.CacheManager.configure(CacheManager.java:722)
at net.sf.ehcache.CacheManager.doInit(CacheManager.java:439)
at net.sf.ehcache.CacheManager.init(CacheManager.java:377)
at net.sf.ehcache.CacheManager.<init>(CacheManager.java:259)
at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:1037)
at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:936)
Caused by: java.net.UnknownHostException: linux-78et.suse: unknown error
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
at java.net.InetAddress.getLocalHost(InetAddress.java:1500)
at net.sf.ehcache.Cache.<clinit>(Cache.java:214)
at net.sf.ehcache.config.ConfigurationHelper.createCache(ConfigurationHelper.java:296)
at net.sf.ehcache.config.ConfigurationHelper.createDefaultCache(ConfigurationHelper.java:219)
at net.sf.ehcache.CacheManager.configure(CacheManager.java:722)
at net.sf.ehcache.CacheManager.doInit(CacheManager.java:439)
at net.sf.ehcache.CacheManager.init(CacheManager.java:377)
[info] application - ApplicationTimer demo: Starting application at 2016-05-22T19:21:48.074Z.
你能告訴'/ etc/hosts'的內容? – Salem
# #hosts該文件描述了TCP/IP子系統的一些主機名到地址 #映射。在啓動時使用的主要是 #,當沒有名稱服務器正在運行時。 #在小型系統上,可以使用該文件而不是 #「named」名稱服務器。 #語法: # #IP地址完全合格的主機名短主機名 # 127.0.0.1本地主機 #特殊的IPv6地址 :: 1本地主機IPv6的本地主機IPv6的環回 FE00 :: 0 ipv6-localnet ff00 :: 0 ipv6-mcastprefix –
我給出了圖像和內容 –