From 6ff87c641966ba7980d77d7660f1db65c4e4c267 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Thu, 26 Jan 2017 16:52:18 +0300 Subject: [PATCH] [platform] fixes "class not found: org.w3c.dom.ElementTraversal" exception in build process references: https://github.com/JetBrains/intellij-plugins/pull/455#issuecomment-275357965, SCL-11249 --- .../src/com/intellij/openapi/application/PathManager.java | 6 ++++-- platform/util/util.iml | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/platform/util/src/com/intellij/openapi/application/PathManager.java b/platform/util/src/com/intellij/openapi/application/PathManager.java index aeffc6bae1d7..5e2a8a2302b8 100644 --- a/platform/util/src/com/intellij/openapi/application/PathManager.java +++ b/platform/util/src/com/intellij/openapi/application/PathManager.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2016 JetBrains s.r.o. + * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,6 +35,7 @@ import org.jdom.Document; import org.jetbrains.annotations.Contract; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; +import org.w3c.dom.ElementTraversal; import java.io.*; import java.net.URL; @@ -473,7 +474,8 @@ public class PathManager { FileUtils.class, // JNA (jna-platform) PatternMatcher.class, // OROMatcher Snappy.class, // Snappy - SecurityManager.class // xercesImpl + SecurityManager.class, // xercesImpl + ElementTraversal.class // xml-apis (required by Xerces) }; final Set classPath = new HashSet(); diff --git a/platform/util/util.iml b/platform/util/util.iml index c4fcb071f880..ba5bce845778 100644 --- a/platform/util/util.iml +++ b/platform/util/util.iml @@ -22,10 +22,10 @@ - - + +