BuildPack 无法解析 gradle 多项目 java springboot 代码的工件

问题描述

我创建了一个设置文件,其中包含 一个 rootProject.name 后跟每个微服务的包含语句。 但是在使用 buildpack 进行构建时,我得到了

bool SSLSocket::connect(wchar_t * strDestination,int port,int timeout)
{
    SocketAddress socketAddress(strDestination,port);
    return this->connect(&socketAddress,timeout);
}
bool SSLSocket::connect(SocketAddress * sockAddress,int timeout)
{
    bool success = 
        (this->_sslHandle != NULL && 
        Socket::connect(sockAddress,timeout) &&                // Regular TCP connection
        SSL_set_fd(this->_sslHandle,(int)this->_hSocket) == 1 &&   // Connect the SSL struct to our connection
        SSL_connect(this->_sslHandle) == 1);                    // Initiate SSL handshake

    if (!success)
        this->close();

    return success;
}

int SSLSocket::_recv(void * lpBuffer,int size,int flags)
{
    MonitorLock cs(&_mutex);
    return SSL_read(this->_sslHandle,lpBuffer,size);
}

int SSLSocket::_send(const void * lpBuffer,int flags)
{
    return SSL_write(this->_sslHandle,size);
}

所以我在根文件夹中创建了一个 project.toml 文件并重复构建。

! Failed with status code: 145
[builder] unable to invoke layer creator
                                                                                                     │ [builder] unable to contribute application layer
│ [builder] unable to resolve artifact
│ [builder] unable to find single built artifact in build/libs/*.[jw]ar,candidate
│ s: []. If this is unexpected,please try setting rootProject.name in settings.gr
│ adle or add a project.toml file and exclude the build/ directory. For details se
│ e https://buildpacks.io/docs/app-developer-guide/using-project-descriptor/.

观察到与上述相同的错误

不确定我到底缺少什么!

谢谢

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)