Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load the bootstrap javascript: ./VAADIN/vaadinBootstrap.js with Weblogic/Guice 4.0 #7813

Failed to load the bootstrap javascript: ./VAADIN/vaadinBootstrap.js with Weblogic/Guice 4.0 #7813

Comments

Originally by jalexander

We are experiencing the error message
«Failed to load the bootstrap javascript: ./VAADIN/vaadinBootstrap.js»

When accessing a Vaadin application hosted on Weblogic using Guice 4.0 as the CDI provider. The issue does not occur with Guice 3.0 and is due to a slight difference in handling the request.getPathInfo(). Weblogic returns a null but then Guice 4.0 wraps the response and translates the null to «» in com.google.inject.servlet.ServletDefinition.

Читайте также:  Javascript строка уже есть

This causes the condition in com.vaadin.server.VaadinServlet.handleContextRootWithoutSlash to be bypassed and the error message displayed.

The text was updated successfully, but these errors were encountered:

Источник

How to resolve: Failed to load the bootstrap javascript: ./../../VAADIN/ vaadinBootstrap.js in Vaadin on Grails

A little late, but I have had the same issue few days ago. In my case, exactly same message is shown in Vaadin 7 (with a pure Java application). At the end, it was an issue with permissions of tomcat. If I execute tomcat as root , it works perfectly. If it is executed with user tomcat the message Failed to load the bootstrap javascript: ./VAADIN/ vaadinBootstrap.js is shown again. Of course, we do not want to execute tomcat as root, but it points clearly to the issue.

I know that is maybe not related to the use of Grails as the asker is using, but maybe it is also a permission issue.

Tasmanski

Tasmanski

Comments

Tasmanski

I’m new in Grails and Vaadin. I’d like to use Vaadin in my Grails application. After installing vaadin plugin, when I try start my application I receive this communicat:

Failed to load the bootstrap javascript: ./../../VAADIN/ vaadinBootstrap.js 

I use GGTS-3.6.0.RELEASE, vmware vfabric tc server developer edition v2.9 and Grails-2.4.2. I tried change in /MyApp/target/work/resources/web.xml to:

      " type="text/css"> " type="text/css"> " type="text/css"> " type="text/css">             

Unfortunately probably server all the time override my changes. Could you help me? I don’t know what can be helpful else..

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load bootstrap.js #7220

Failed to load bootstrap.js #7220

Comments

Originally by gopinathpatro

Intermittent but more often we are seeing the below issue while accessing our application.

Failed to load the bootstrap javascript: ./VAADIN/vaadinBootstrap.js?v=7.5.4

After this the page goes blank..

Is this a known issue to vaadin?

The text was updated successfully, but these errors were encountered:

I too am seeing the following error message, on my existing project, and then again an brand-new Vaadin 14 project created on the «Start a new project with Vaadin» page.

Failed to load the bootstrap javascript: ./VAADIN/vaadinBootstrap.js?v=8.9.1

We are sorry that this issue hasn’t progressed lately. We are prioritizing issues by severity and the number of customers we expect are experiencing this and haven’t gotten around to fix this issue yet.

There are a couple of things you could help to get things rolling on this issue (this is an automated message, so expect that some of these are already in use):

  • Check if the issue is still valid for the latest version. There are dozens of duplicates in our issue tracker, so it is possible that the issue is already tackled. If it appears to be fixed, close the issue, otherwise report to the issue that it is still valid.
  • Provide more details how to reproduce the issue.
  • Explain why it is important to get this issue fixed and politely draw others attention to it e.g. via the forum or social media.
  • Add a reduced test case about the issue, so it is easier for somebody to start working on a solution.
  • Try fixing the issue yourself and create a pull request that contains the test case and/or a fix for it. Handling the pull requests is the top priority for the core team.
  • If the issue is clearly a bug, use the Warranty in your Vaadin subscription to raise its priority.

Thanks again for your contributions! Even though we haven’t been able to get this issue fixed, we hope you to report your findings and enhancement ideas in the future too!

Источник

Не удалось загрузить vaadinBootstrap.js с помощью Spring + WebServlet 3.0

Я говорю, что мне нужно session-config в web.xml , Однако у меня нет web.xml так как я использую версию сервлета 3.X , Поэтому я добавляю это заявление в мой WebApplicationInitializer , Мой код ниже.

public class FarmInitializer implements WebApplicationInitializer < static private Logger logger = LoggerFactory.getLogger(Logger.class); @Override public void onStartup(ServletContext arg0) throws ServletException < System.out.println("=== Starts ==="); AnnotationConfigWebApplicationContext ctx = new AnnotationConfigWebApplicationContext(); ctx.register(ServletConfig.class); ctx.register(FileConfig.class); ctx.register(DBConfig.class); //Solution of vaadinBootstrap.js? SetsessionConfigSet = new HashSet<>(); sessionConfigSet.add(SessionTrackingMode.COOKIE); arg0.setSessionTrackingModes(sessionConfigSet); arg0.addListener(new ContextLoaderListener(ctx)); registerServlet(arg0); System.out.println("=== Ends ==="); > private void registerServlet(ServletContext ctx) < Dynamic dispatcher = ctx.addServlet("vaadin", SpringVaadinServlet.class); dispatcher.addMapping("/"); dispatcher.setLoadOnStartup(0); logger.info("=== DONE == q-info"> 
0
java spring twitter-bootstrap tomcat7 vaadin7
Источник Поделиться
2016-09-11 07:53

1 ответ

Решение

Вы пытались отобразить свой сервлет vaadin как /* (вместо /) или добавить отображение для /VAADIN/*

dispatcher.addMapping("/*"); 

Источник

Оцените статью