小编SCo*_*ote的帖子

WebLogic应用程序中没有任何组件

我们正在将J2EE应用程序(JSP和EJB 2.0)从WebLogic Service 8.1升级到12c(12.2.1.1.0)。我们正在将爆炸的EAR构建到domain目录中的目录。我们使用管理控制台来部署应用程序,但由于失败weblogic.management.DeploymentException: Application <appname> does not have any Components in it.

日志中将显示以下内容:

####<Sep 26, 2016, 6:16:08,62 PM EDT> <Error> <Deployer> <CVG-000216B-010> <BaseServer> <[STANDBY] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <9b2f9073-e2d2-4c02-915c-4e5de240621e-00000012> <1474928168062> <[severity-value: 8] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-149265> <Failure occurred in the execution of deployment request with ID "25758041366812" for task "0" on [partition-name: DOMAIN]. Error is: "weblogic.management.DeploymentException: Application [MyApp] does not have any Components in it."
weblogic.management.DeploymentException: Application [MyApp] does …
Run Code Online (Sandbox Code Playgroud)

java weblogic java-ee weblogic12c

5
推荐指数
1
解决办法
2805
查看次数

Gradle 与 Junit5 的多项目集成测试

如何在多项目构建文件中使用 Gradle 5.2 和 JUnit 5.3 创建集成测试?

这是我当前的构建文件:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin:1.6.10"
    classpath 'org.owasp:dependency-check-gradle:5.0.0-M2'
  }
}


allprojects {
  defaultTasks 'clean', 'build', 'publish', 'installDist'
  group = 'coyote'
  version = '0.1.0'
}

subprojects {

  apply plugin: 'java'
  apply plugin: 'jacoco'
  apply plugin: "com.github.spotbugs"
  apply plugin: 'org.owasp.dependencycheck'
  apply plugin: 'maven-publish'
  apply plugin: 'application'
  apply plugin: 'eclipse'
  apply plugin: 'idea'

  repositories {
    jcenter()
    mavenCentral()
  }

  dependencies {
    testImplementation ("org.junit.jupiter:junit-jupiter-api:5.3.2")
    testRuntimeOnly ("org.junit.jupiter:junit-jupiter-engine:5.3.2")
    spotbugsPlugins ("com.h3xstream.findsecbugs:findsecbugs-plugin:1.8.0")
  } …
Run Code Online (Sandbox Code Playgroud)

continuous-integration integration-testing gradle continuous-delivery junit5

5
推荐指数
1
解决办法
2651
查看次数

Git - “SSL 证书问题:证书链中的自签名证书”

当我尝试推送更改时,我刚刚开始收到此错误。我不知道我的系统发生了什么变化,并且在这方面不应该有任何自签名证书。

Git 已被卸载并重新安装。Git 似乎正在使用正确的包: http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt

禁用证书检查不是一个选项。

我该如何解决这个问题?

目标是将我的代码推送到 GitHub,但是自签名证书如何进入此连接以及如何将其取出?

git ssl certificate github

4
推荐指数
1
解决办法
2万
查看次数

Golang 工厂方法

我正在学习 golang,并且被困在一个非常简单的概念上。也许是我的面向对象习惯使我的理解变得模糊,但我似乎无法让这个简单的例子起作用:

package main

import (
    "fmt"
)

type datafield struct {
    name  string
    value string
}

func (d datafield) NewField(name, value string) *datafield {
    retval := new(datafield)
    retval.name = name
    retval.value = value
    return retval
}

func main() {
    field := datafield.NewField("name", "value")
    if field == nil {
        fmt.Println("Error: Did not create a datafield")
    } else {
        fmt.Println("Success!")
    }
}
Run Code Online (Sandbox Code Playgroud)

错误是:

prog.go:20:29: not enough arguments in call to method expression datafield.NewField
    have (string, string)
    want (datafield, string, string)
Run Code Online (Sandbox Code Playgroud)

NewField(string,string) …

constructor go

2
推荐指数
1
解决办法
3548
查看次数