Tabnine Logo
BootstrapLogger.error
Code IndexAdd Tabnine to your IDE (free)

How to use
error
method
in
org.wildfly.swarm.bootstrap.logging.BootstrapLogger

Best Java code snippets using org.wildfly.swarm.bootstrap.logging.BootstrapLogger.error (Showing top 2 results out of 315)

origin: thorntail/thorntail

final File artifact = MavenResolvers.get().resolveJarArtifact(coords);
if (artifact == null) {
  LOGGER.error("Unable to resolve artifact: " + coords);
} else {
  archivePaths.add(artifact.getAbsolutePath());
LOGGER.error("Error resolving artifact " + coords, e);
origin: thorntail/thorntail

protected void addDependencies(ModuleSpec.Builder builder, ApplicationEnvironment env) {
  env.getDependencies()
      .forEach((dep) -> {
        String[] parts = dep.split(":");
        ArtifactCoordinates coords = null;
        if (!parts[2].equals("jar")) {
          return;
        }
        if (parts.length == 4) {
          coords = new ArtifactCoordinates(parts[0], parts[1], parts[3]);
        } else if (parts.length == 5) {
          coords = new ArtifactCoordinates(parts[0], parts[1], parts[4], parts[3]);
        }
        try {
          File artifact = MavenResolvers.get().resolveJarArtifact(coords);
          if (artifact == null) {
            LOG.error("Unable to find artifact for " + coords);
            return;
          }
          JarFile jar = JarFileManager.INSTANCE.addJarFile(artifact);
          builder.addResourceRoot(
              ResourceLoaderSpec.createResourceLoaderSpec(
                  ResourceLoaders.createJarResourceLoader(artifact.getName(), jar)
              )
          );
        } catch (IOException e) {
          throw new RuntimeException(e);
        }
      });
}
org.wildfly.swarm.bootstrap.loggingBootstrapLoggererror

Popular methods of BootstrapLogger

  • info
  • logger
  • setBackingLoggerManager
  • <init>
  • debug
  • getBackingLogger
  • getLevel
  • isDebugEnabled
  • isTraceEnabled
  • trace
  • warn
  • warn

Popular in Java

  • Making http requests using okhttp
  • compareTo (BigDecimal)
  • getSystemService (Context)
  • scheduleAtFixedRate (Timer)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Runner (org.openjdk.jmh.runner)
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now