Eclipse Error: Unable to set localhost. This prevents creation of a GUID.
2024-10-12 05:30:26
Symptoms
The following error appears in the atlassian-confluence.log
:
2011-03-16 18:20:03,021 ERROR [main] [net.sf.ehcache.Cache] <clinit> Unable to set localhost. This prevents creation of a GUID. Cause was: <hostname>: <hostname> java.net.UnknownHostException: <hostname>: <hostname> at java.net.InetAddress.getLocalHost(InetAddress.java:1354) at net.sf.ehcache.Cache.<clinit>(Cache.java:145) |
Cause
The local hostname (or COMPUTERNAME - Windows) that is running Confluence is not in the host file or is not resolvable via DNS lookup.
Resolution
Change the local hostname (or COMPUTERNAME in Windows) that is running Confluence to match the host file, or enter the local hostname into the hosts file.
windows
C:\Windows\System32\drivers\etc\hosts
linux/unix environments
/etc/hosts
We strongly recommend placing the hostname in the host file as fail-safe for DNS server failure.
Alternatively, make the hostname resolvable via DNS.
最新文章
- 使用NuGet助您玩转代码生成数据————Entity Framework 之 Code First
- EntityFrameWork使用MySql数据库分页的BUG
- matlab中的卷积——filter,conv之间的区别
- MVC 随记
- 多个github帐号的SSH key切换
- 嘻哈帮天通苑_poppin——张锋
- JS。 问题类型:穷举,迭代。两个关键词:break和continue
- SharePoint 跨域还原网站一则
- linux log find 查询
- Lunix中文乱码解决方案
- 拉格朗日对偶(Lagrange duality)
- JZ2440开发笔记(2)——minicom的安装和配置使用【转】
- Android-webView的loadUrl
- Effective C++:条款14:在中小企业资源管理copying表现
- 数据库中的null问题
- COCOS2D-JS入门-web端项目部署
- 用html +js+css 实现页面轮播图效果
- Deepin 15.4 安装 Double Commander
- C# 线程本地存储 调用上下文 逻辑调用上下文
- hive命令的执行方式