[572114] Fix slf4j reference during preview server launch
diff --git a/plugins/org.eclipse.wst.server.preview.adapter/src/org/eclipse/wst/server/preview/adapter/internal/core/PreviewLaunchConfigurationDelegate.java b/plugins/org.eclipse.wst.server.preview.adapter/src/org/eclipse/wst/server/preview/adapter/internal/core/PreviewLaunchConfigurationDelegate.java
index b5b221c..66770d2 100644
--- a/plugins/org.eclipse.wst.server.preview.adapter/src/org/eclipse/wst/server/preview/adapter/internal/core/PreviewLaunchConfigurationDelegate.java
+++ b/plugins/org.eclipse.wst.server.preview.adapter/src/org/eclipse/wst/server/preview/adapter/internal/core/PreviewLaunchConfigurationDelegate.java
@@ -50,7 +50,7 @@
// corresponds to CLASSPATH_BIN_INDEX_PREVIEW_SERVER
private static final String[] REQUIRED_BUNDLE_IDS = new String[] {
getBundleForClass(javax.servlet.ServletContext.class),
- "org.slf4j.api",
+ "slf4j.api",
"org.eclipse.jetty.http",
"org.eclipse.jetty.io",
"org.eclipse.jetty.security",
@@ -264,4 +264,4 @@
}
return null;
}
-}
\ No newline at end of file
+}
diff --git a/plugins/org.eclipse.wst.server.preview/jetty/pom.xml b/plugins/org.eclipse.wst.server.preview/jetty/pom.xml
index 0f0daaa..71d76f7 100644
--- a/plugins/org.eclipse.wst.server.preview/jetty/pom.xml
+++ b/plugins/org.eclipse.wst.server.preview/jetty/pom.xml
@@ -46,6 +46,10 @@
<source>true</source>
</artifact>
<artifact>
+ <id>org.eclipse.jetty:jetty-util-ajax:${jettyVersion}</id>
+ <source>true</source>
+ </artifact>
+ <artifact>
<id>jakarta.enterprise:jakarta.enterprise.cdi-api:2.0.2</id>
</artifact>
<artifact>