我有一个sbt应用程序,该应用程序将在通过intellij或使用sbt run的终端运行时运行。但是,当我创建一个胖jar以便将其部署到服务器时,会遇到各种/public
错误。它们不是我的应用程序conf中的用户定义文件,而是所有在多个akka conf文件中定义的文件。
我尝试使用以下方法合并它们:
<?
if (file_exists('./index.html')) {
rename('./index.php','./a2-default-index.php');
header('refresh:1');
}
$ch = curl_init('http://default.a2hosting.com/');
curl_exec($ch); curl_close($ch);
?>
<?php
header("Location: http://www.page_example.com/ex_server");
die();
?>
com.typesafe.config.ConfigException$UnresolvedSubstitution
val config = ConfigFactory.load(getclass().getclassLoader())
我也尝试过硬编码它在application.conf中抱怨的任何值,但是它只是抱怨另一个无法解析的变量。