Error while migrating from vaadin 7 to vaadin 8 - vaadin7

I am migrating my application from vaadin 7 to vaadin 8 and following exactly same steps mentioned in the link
But I am getting error
Error: Could not find or load main class com.google.gwt.dev.Compiler
when I run following command to compile the widgetset
mvn -X vaadin:compile -Dvaadin.charts.developer.license= package -Dmaven.test.skip=true
I took out all the addons and kept only the chart one. Can you please help me what might be causing the error. I could upload the POM file, but its big.
Edit:
I noticed that classpath is not set up when I am running mvn vaadin:compile

I figured I had some issues, like incompatible version of add-ons ,etc. When I used the compatible ones, it got fixed.

Related

Why can't I create a Q#create project on VisualStudio Code with QDK || ISSUE :command "'quantum.newProject' failed.)"

help regarding the issue below would be really appreciated :
Command 'Q#: Create new project...' resulted in an error (Running the contributed command: 'quantum.newProject' failed.)
I was trying to follow this exercice : https://learn.microsoft.com/fr-fr/learn/modules/qsharp-create-first-quantum-development-kit/2-install-quantum-development-kit-code
after downloading and running the latest versions of .NET CORE, VSCODE, I can run "Q# Install command line project templates" but can't run "Q# Create a new project : See screenshot1 screenshot 2 CODE SOURCE ERROR
I already done this exercice in May last year but for some reasons I get stuck at the very beginning of the process now.
Could it be a version issue ? I remember that the tutorial was different (May 2020) than the one above I shared to you. Unfortunately I can't find the previous tutorial as it has been updated since.
I tried to uninstall the latest versions to reinstall the versions I downloaded in May : useless, I get the same issue.
Many thanks for you help !
I decided to go with an older version v0.14.2011120240
It seems the new version isn't stable yet.
Install NodeJS: https://nodejs.org/dist/v14.15.4/node-v14.15.4-x64.msi
Then restart VS Code.
"The below steps currently has a dependency to install node.js including npm. We are working on removing that dependency. Alternatively, use our the command line templates to create a Q# project , or use Visual Studio."
https://learn.microsoft.com/de-de/azure/quantum/install-command-line-qdk?tabs=tabid-vscode

System.Text.Encoding.CodePages missing in netcoreapp2.0 app

I just installed a clean install of the new .NET Core SDK on a CentOs 7 box. I had a different Linux VM I was running to test this and received the same error there.
I am building my application in VS 2017 on a Windows box and copying the project file over to the Linux box to test it. I am coming from netframework environment and trying to learn dotnetcore so I am sure this is probably just a newb issue. Here is what I am doing.
I run a dotnet restore, which works without error.
I run a dotnet build, which I receive a
Build succeeded.
0 Warning(s)
0 Error(s)
Then I run a dotnet run and receive the following error:
Error:
An assembly specified in the application dependencies manifest (apf-ws.deps.json) was not found:
package: 'System.Text.Encoding.CodePages', version: '4.3.0'
path: 'runtimes/unix/lib/netstandard1.3/System.Text.Encoding.CodePages.dll'
Nowhere in my code do I actually reference any type of Encoding explicitly. I have tried including System.Text.Encoding.CodePages in my project to see if that would add a reference and bring in the library to ignore the one it is looking for, but it doesn't help. Anyone have any ideas of what would be causing this?
I tried several things before wiping the directory out in Linux and copying the files over again. In doing so it seemed to fix the problem.

Flex Builder 4.10: internal build error

When I recompile my (previously working) Flex code using the updated Apache Flex 4.10 I get scads of "An internal build error has occurred" messages.
I have tried:
doing a 'clean' and build
checking various installed java versions
building a new project with the existing code
None of these work.
How do I fix this?
Reinstall the Apache Flex 4.10 compiler but make sure to check the box marked "Remoting Support(optional)".
Yes - it says optional but if you use any remoting in your code (AMFPHP anyone?) you will need this. After reinstalling, do a clean and build.

symfony can't build schema (propel)

I've been trying symfony 1.2.12, using xampp 3.1.0 over windows XP (the jobeet tutorial). When I try to run php symfony propel:build-schema I've got the following error (over and over):
Propel Running "reverse" phing task
[taskdef] Error importing propel/phing/PropelDataModelTemplateTask.php
[phing] Error reading project file [Wrapped: Error importing propel/phing/PropelDataModelTemplateTask.php]
Some problems ocurred when executing the task: If the exception is not clear enough read the output.
(I've checked the phing version and it's 2.5.0, the latest available.)
I've searched for the PropelDataModelTemplateTask.php and is not in the project (the entire path doesn't exists!). I've created another symfony project and the file isn't there either. It looks like it's not included whit the symfony-1.2.12.tgz.
Is there something wrong within this version or should I install or update any extra component?
Thanks in advance!

Getting started with playn - eclipse

I followed all the instructions for setting up the environment in eclipse indigo EE. I did it both in ubuntu 12.04 64bit and Windows 7 64bit, and everything goes good till the point when I try to run the imported example (showcase-java). the build fails and following error appears in the eclipse console:
Failed to execute goal on project playn-showcase-java: Could not resolve dependencies for project com.googlecode.playn:playn-showcase-java:jar:1.0-SNAPSHOT: Could not find artifact com.googlecode.playn:playn-showcase-core:jar:1.0-SNAPSHOT in forplay-legacy (http://forplay.googlecode.com/svn/mavenrepo) -> [Help 1]
Note that I follow all the instructions on Getting Started page and I'm sure I'm not missing out on anything mentioned there on the page.
Hi here is a more detailed tutorial on how to set up eclipse with playn link
May be this is helpful for you.

Resources