Cannot install blazor via VSIX or extentions - visual-studio

I am using Visual Studio Community 2019 and dotnet core 3.0.
When I try to search within the Visual Studio Extensions manager Blazor does not show up at all. When I try and install via the website: https://marketplace.visualstudio.com/items?itemName=aspnet.blazor I receive the following error.
6/30/2019 10:07:13 PM - Microsoft VSIX Installer
6/30/2019 10:07:13 PM - -------------------------------------------
6/30/2019 10:07:13 PM - vsixinstaller.exe version:
6/30/2019 10:07:13 PM - 16.1.3132
6/30/2019 10:07:13 PM - -------------------------------------------
6/30/2019 10:07:13 PM - Command line parameters:
6/30/2019 10:07:13 PM - C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,C:\Users\ogre1\AppData\Local\Temp\Microsoft.VisualStudio.BlazorExtension.16.0.19307.2.vsix
6/30/2019 10:07:13 PM - -------------------------------------------
6/30/2019 10:07:13 PM - Microsoft VSIX Installer
6/30/2019 10:07:13 PM - -------------------------------------------
6/30/2019 10:07:14 PM - Initializing Install...
6/30/2019 10:07:14 PM - Extension Details...
6/30/2019 10:07:14 PM - Identifier : Microsoft.VisualStudio.BlazorExtension
6/30/2019 10:07:14 PM - Name : Blazor
6/30/2019 10:07:14 PM - Author : Microsoft
6/30/2019 10:07:14 PM - Version : 16.0.19307.2
6/30/2019 10:07:14 PM - Description : Provides Visual Studio support for Blazor
6/30/2019 10:07:14 PM - Locale : en-US
6/30/2019 10:07:14 PM - MoreInfoURL :
6/30/2019 10:07:14 PM - InstalledByMSI : False
6/30/2019 10:07:14 PM - SupportedFrameworkVersionRange : [0.0,2147483647.2147483647]
6/30/2019 10:07:14 PM -
6/30/2019 10:07:14 PM - SignatureState : ValidSignature
6/30/2019 10:07:14 PM - SignedBy : Microsoft Corporation
6/30/2019 10:07:14 PM - Certificate Info :
6/30/2019 10:07:14 PM - -------------------------------------------------------
6/30/2019 10:07:14 PM - [Subject] : CN=Microsoft Corporation, OU=OPC, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
6/30/2019 10:07:14 PM - [Issuer] : CN=Microsoft Code Signing PCA 2010, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
6/30/2019 10:07:14 PM - [Serial Number] : 330000026ECE6AE5984BFC96A900000000026E
6/30/2019 10:07:14 PM - [Not Before] : 9/6/2018 5:00:30 PM
6/30/2019 10:07:14 PM - [Not After] : 9/6/2019 5:00:30 PM
6/30/2019 10:07:14 PM - [Thumbprint] : 99B6246883B4B32EA59AE18B36945D205A876800
6/30/2019 10:07:14 PM -
6/30/2019 10:07:14 PM - Supported Products :
6/30/2019 10:07:14 PM - Microsoft.VisualStudio.Community
6/30/2019 10:07:14 PM - Version : [16.2,)
6/30/2019 10:07:14 PM -
6/30/2019 10:07:14 PM - References :
6/30/2019 10:07:14 PM - Prerequisites :
6/30/2019 10:07:14 PM - -------------------------------------------------------
6/30/2019 10:07:14 PM - Identifier : Microsoft.VisualStudio.Component.Web
6/30/2019 10:07:14 PM - Name : ASP.NET and web development tools
6/30/2019 10:07:14 PM - Version : [16.0,)
6/30/2019 10:07:14 PM -
6/30/2019 10:07:14 PM - Signature Details...
6/30/2019 10:07:14 PM - Extension is signed with a valid signature.
6/30/2019 10:07:14 PM -
6/30/2019 10:07:14 PM - Searching for applicable products...
6/30/2019 10:07:14 PM - Found installed product - Global Location
6/30/2019 10:07:14 PM - Found installed product - Visual Studio Community 2019
6/30/2019 10:07:14 PM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
at VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable1& skuData)
at VSIXInstaller.ExtensionPackService.IsExtensionPack(IStateData stateData, Boolean isRepairSupported)
at VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData stateData, Boolean isRepairSupported)
at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
at VSIXInstaller.App.Initialize()
at System.Threading.Tasks.Task1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
I have ran a repair on Visual Studio, and even uninstalled and reinstalled.
I was able to create a project before the latest Visual Studio update. After the update, that project, which was still just the base demo, would not build. When I went to make a new project, Blazor was no longer there.

Related

Trouble installing power query SDK

I've installed visual studio community and when trying to install the power query SDK I get an error saying that I don't have the applicable product. Here is the error log.
3/31/2022 11:46:11 AM - Microsoft VSIX Installer
3/31/2022 11:46:11 AM - -------------------------------------------
3/31/2022 11:46:11 AM - vsixinstaller.exe version:
3/31/2022 11:46:11 AM - 17.1.1035-preview2
3/31/2022 11:46:11 AM - -------------------------------------------
3/31/2022 11:46:11 AM - Command line parameters:
3/31/2022 11:46:11 AM - C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,C:\Users\Brett Evans\Downloads\PowerQuerySdk.vsix
3/31/2022 11:46:11 AM - -------------------------------------------
3/31/2022 11:46:11 AM - Microsoft VSIX Installer
3/31/2022 11:46:11 AM - -------------------------------------------
3/31/2022 11:46:12 AM - Initializing Install...
3/31/2022 11:46:12 AM - Extension Details...
3/31/2022 11:46:12 AM - Identifier : PowerQuerySDK.Microsoft.30831070-f420-4649-a031-6f679996b182
3/31/2022 11:46:12 AM - Name : Power Query SDK
3/31/2022 11:46:12 AM - Author : Microsoft
3/31/2022 11:46:12 AM - Version : 1.0.0.25
3/31/2022 11:46:12 AM - Description : A Power Query language service for Visual Studio
3/31/2022 11:46:12 AM - Locale : en-US
3/31/2022 11:46:12 AM - MoreInfoURL :
3/31/2022 11:46:12 AM - InstalledByMSI : False
3/31/2022 11:46:12 AM - SupportedFrameworkVersionRange : [4.5,)
3/31/2022 11:46:12 AM -
3/31/2022 11:46:13 AM - SignatureState : ValidSignature
3/31/2022 11:46:13 AM - SignedBy : Microsoft Corporation
3/31/2022 11:46:13 AM - Certificate Info :
3/31/2022 11:46:13 AM - -------------------------------------------------------
3/31/2022 11:46:13 AM - [Subject] : CN=Microsoft Corporation, OU=OPC, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
3/31/2022 11:46:13 AM - [Issuer] : CN=Microsoft Code Signing PCA 2010, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
3/31/2022 11:46:13 AM - [Serial Number] : 3300000304101C68D65CB4BF29000000000304
3/31/2022 11:46:13 AM - [Not Before] : 6/5/2019 1:36:58 PM
3/31/2022 11:46:13 AM - [Not After] : 6/3/2020 1:36:58 PM
3/31/2022 11:46:13 AM - [Thumbprint] : A28267BD2BB3838A16666C63F4BB21D37CE0619B
3/31/2022 11:46:13 AM -
3/31/2022 11:46:13 AM - Supported Products :
3/31/2022 11:46:13 AM - Microsoft.VisualStudio.Community
3/31/2022 11:46:13 AM - Version : [14.0,17.0)
3/31/2022 11:46:13 AM - ProductArchitecture : x86
3/31/2022 11:46:13 AM - Microsoft.VisualStudio.Pro
3/31/2022 11:46:13 AM - Version : [14.0,17.0)
3/31/2022 11:46:13 AM - ProductArchitecture : x86
3/31/2022 11:46:13 AM - Microsoft.VisualStudio.Enterprise
3/31/2022 11:46:13 AM - Version : [14.0,17.0)
3/31/2022 11:46:13 AM - ProductArchitecture : x86
3/31/2022 11:46:13 AM -
3/31/2022 11:46:13 AM - References :
3/31/2022 11:46:13 AM - Prerequisites :
3/31/2022 11:46:13 AM - -------------------------------------------------------
3/31/2022 11:46:13 AM - Identifier : Microsoft.VisualStudio.Component.CoreEditor
3/31/2022 11:46:13 AM - Name : Visual Studio core editor
3/31/2022 11:46:13 AM - Version : [15.0,17.0)
3/31/2022 11:46:13 AM -
3/31/2022 11:46:13 AM - Signature Details...
3/31/2022 11:46:13 AM - Extension is signed with a valid signature.
3/31/2022 11:46:13 AM -
3/31/2022 11:46:13 AM - Searching for applicable products...
3/31/2022 11:46:13 AM - Found installed product - Global Location
3/31/2022 11:46:13 AM - Found installed product - Visual Studio Community 2022
3/31/2022 11:46:13 AM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
at VSIXInstaller.ExtensionService.GetInstallableDataImpl(IInstallableExtension extension, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
at VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
at VSIXInstaller.ExtensionPackService.IsExtensionPack(IStateData stateData, Boolean isRepairSupported)
at VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData stateData, Boolean isRepairSupported)
at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
at VSIXInstaller.App.Initialize()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
I installed visual studio community and then attempeted to install power query SDK
Here is an image of what happens.
It looks like you installed Visual Studio 2022. At this moment Power Query SDK works only with versions 2015, 2017 and 2019:
You should download an older version of Visual Studio from here or wait until Power Query SDK supports version 2022.

How to install `Installer Projects` for Visual Studio 2019

When ever I try to install the Installer Project-Package for Visual Studio 2019 I get these Log:
27.02.2020 10:30:57 - -------------------------------------------
27.02.2020 10:30:57 - Microsoft VSIX Installer
27.02.2020 10:30:57 - -------------------------------------------
27.02.2020 10:31:03 - Initializing Install...
27.02.2020 10:31:07 - Extension Details...
27.02.2020 10:31:07 - Identifier : VSInstallerProjects
27.02.2020 10:31:07 - Name : Microsoft Visual Studio Installer Projects
27.02.2020 10:31:07 - Author : Microsoft
27.02.2020 10:31:07 - Version : 0.9.6
27.02.2020 10:31:07 - Description : This official Microsoft extension provides support for Visual Studio Installer Projects in Visual Studio.
27.02.2020 10:31:07 - Locale : en-US
27.02.2020 10:31:07 - MoreInfoURL :
27.02.2020 10:31:07 - InstalledByMSI : False
27.02.2020 10:31:07 - SupportedFrameworkVersionRange : [4.6.1,)
27.02.2020 10:31:07 -
27.02.2020 10:31:09 - SignatureState : ValidSignature
27.02.2020 10:31:09 - SignedBy : Microsoft Corporation
27.02.2020 10:31:09 - Certificate Info :
27.02.2020 10:31:09 - -------------------------------------------------------
27.02.2020 10:31:09 - [Subject] : CN=Microsoft Corporation, OU=OPC, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
27.02.2020 10:31:09 - [Issuer] : CN=Microsoft Code Signing PCA 2010, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
27.02.2020 10:31:09 - [Serial Number] : 3300000305DFD27DFE8F86CDB3000000000305
27.02.2020 10:31:09 - [Not Before] : 05.06.2019 19:36:58
27.02.2020 10:31:09 - [Not After] : 03.06.2020 19:36:58
27.02.2020 10:31:09 - [Thumbprint] : 417A476992589EA95299F5057960010675759457
27.02.2020 10:31:09 -
27.02.2020 10:31:09 - Supported Products :
27.02.2020 10:31:09 - Microsoft.VisualStudio.Community
27.02.2020 10:31:09 - Version : [15.0,17.0)
27.02.2020 10:31:09 -
27.02.2020 10:31:09 - References :
27.02.2020 10:31:09 - Prerequisites :
27.02.2020 10:31:09 - -------------------------------------------------------
27.02.2020 10:31:09 - Identifier : Microsoft.VisualStudio.MinShell
27.02.2020 10:31:09 - Name : Visual Studio Min Shell
27.02.2020 10:31:09 - Version : [15.0.26205,17.0)
27.02.2020 10:31:09 -
27.02.2020 10:31:09 - -------------------------------------------------------
27.02.2020 10:31:09 - Identifier : Microsoft.Component.ClickOnce
27.02.2020 10:31:09 - Name : ClickOnce Publishing
27.02.2020 10:31:09 - Version : [15.0,17.0)
27.02.2020 10:31:09 -
27.02.2020 10:31:09 - Signature Details...
27.02.2020 10:31:09 - Extension is signed with a valid signature.
27.02.2020 10:31:09 -
27.02.2020 10:31:09 - System.Runtime.InteropServices.COMException (0x80070490): Element nicht gefunden. (Exception from HRESULT: 0x80070490)
bei Microsoft.VisualStudio.Setup.Configuration.ISetupConfiguration2.GetInstanceForPath(String path)
bei VSIXInstaller.LocationBasedSKU..ctor(String appidInstallPath, String appidName, Version vsVersion, String edition, String rootSuffix)
bei VSIXInstaller.LocationBasedSKU..ctor(String appidInstallPath, String appidName, Version vsVersion, String edition, String rootSuffix, IntPtr alternateUserToken)
bei VSIXInstaller.ExtensionService.GetInstallableDataImpl(IInstallableExtension extension, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
bei VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
bei VSIXInstaller.ExtensionService.ComputeInstallableExtensions(IStateData stateData, Boolean isRepairSupported, Boolean isExtensionPack, IDictionary`2 skuDataMapping, IList`1 installableExtensionsPaths)
bei VSIXInstaller.App.Initialize(Boolean isRepairSupported)
bei VSIXInstaller.App.Initialize()
bei System.Threading.Tasks.Task`1.InnerInvoke()
bei System.Threading.Tasks.Task.Execute()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
Does anyone knows what these Errors means and what I can do?
Does anyone knows what these Errors means and what I can do?
The Microsoft Visual Studio Installer Projects extension is installed in VS2019 successfully in my side. So I suspect something is wrong with your VS environment. Please follow these steps to troubleshoot your issue:
1) delete all VS2019 component caches under C:\Users\user\AppData\Local\Microsoft\VisualStudio\16.0_xxxxx\ComponentModelCache
2) disable any third party extensions under Extensions-->Manage Extensions to prevent any other extensions affect it.
3) do a repair in VS installer
4) update your VS2019 to the latest version and do not forget to update your OS version in case there are some fixes.

Mac-Intellij Community-Smart Tomcat-HTTP Status 404 – Not Found

I trying to setup the spring-mvc project on intellij community edition 2019-3 on mac. I am using smart tomcat for it.
I am trying the example given by journalDev https://www.journaldev.com/14476/spring-mvc-example
It's getting build successfully.
Stacktrace
"/Applications/IntelliJ IDEA CE.app/Contents/jbr/Contents/Home/bin/java" -Dfile.encoding=UTF-8 -classpath /Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/bin/tomcat-juli.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/bin/commons-daemon.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/bin/bootstrap.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/tomcat-i18n-ko.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/el-api.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/tomcat-i18n-es.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/tomcat-websocket.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/jasper.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/jasper-el.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/tomcat-util.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/tomcat-i18n-de.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/catalina-storeconfig.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/jsp-api.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/catalina-tribes.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/tomcat-i18n-cs.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/catalina.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/tomcat-jni.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/tomcat-i18n-pt-BR.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/ecj-4.13.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/websocket-api.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/tomcat-coyote.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/catalina-ha.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/tomcat-api.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/annotations-api.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/jaspic-api.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/tomcat-i18n-zh-CN.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/catalina-ant.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/servlet-api.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/tomcat-util-scan.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/tomcat-i18n-ja.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/tomcat-i18n-ru.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/tomcat-jdbc.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/tomcat-i18n-fr.jar:/Users/slandge/Documents/Tomcat/apache-tomcat-9.0.29/lib/tomcat-dbcp.jar org.apache.catalina.startup.Bootstrap start
Dec 12, 2019 7:18:17 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/Users/slandge/.SmartTomcat/spring-mvc-example/spring-mvc-example/lib], exists: [false], isDirectory: [false], canRead: [false]
Dec 12, 2019 7:18:17 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/Users/slandge/.SmartTomcat/spring-mvc-example/spring-mvc-example/lib], exists: [false], isDirectory: [false], canRead: [false]
Dec 12, 2019 7:18:17 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/Users/slandge/.SmartTomcat/spring-mvc-example/spring-mvc-example/lib], exists: [false], isDirectory: [false], canRead: [false]
Dec 12, 2019 7:18:17 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/Users/slandge/.SmartTomcat/spring-mvc-example/spring-mvc-example/lib], exists: [false], isDirectory: [false], canRead: [false]
Dec 12, 2019 7:18:17 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version name: Apache Tomcat/9.0.29
Dec 12, 2019 7:18:17 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built: Nov 16 2019 17:29:07 UTC
Dec 12, 2019 7:18:17 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version number: 9.0.29.0
Dec 12, 2019 7:18:17 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name: Mac OS X
Dec 12, 2019 7:18:17 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version: 10.14.5
Dec 12, 2019 7:18:17 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture: x86_64
Dec 12, 2019 7:18:17 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home: /Applications/IntelliJ IDEA CE.app/Contents/jbr/Contents/Home
Dec 12, 2019 7:18:17 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version: 11.0.4+10-b520.11
Dec 12, 2019 7:18:17 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor: JetBrains s.r.o
Dec 12, 2019 7:18:17 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE: /Users/slandge/.SmartTomcat/spring-mvc-example/spring-mvc-example
Dec 12, 2019 7:18:17 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME: /Users/slandge/.SmartTomcat/spring-mvc-example/spring-mvc-example
Dec 12, 2019 7:18:17 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dfile.encoding=UTF-8
Dec 12, 2019 7:18:17 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/Users/slandge/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.]
Dec 12, 2019 7:18:18 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8080"]
Dec 12, 2019 7:18:18 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-nio-8009"]
Dec 12, 2019 7:18:18 PM org.apache.catalina.startup.Catalina load
INFO: Server initialization in [503] milliseconds
Dec 12, 2019 7:18:18 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Catalina]
Dec 12, 2019 7:18:18 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.29]
Dec 12, 2019 7:18:18 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-8080"]
Dec 12, 2019 7:18:18 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-nio-8009"]
Dec 12, 2019 7:18:18 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in [338] milliseconds
http://localhost:8080/spring-mvc-example
When I am trying to access the above url. I am getting below error.
HTTP Status 404 – Not Found
Type Status Report
Message /spring-mvc-example/
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Apache Tomcat/9.0.29
Following are the run configuration

Upgrading to and setting up CAS 5.1.x with cas-server-webapp-tomcat

I've been trying to change to a CAS 5.1.x Server from a 4.X Server for the past 3 days with various searches and research and next to no progress. Whenever I remove the dependency to cas-server-webapp-tomcat, the artifact deploys on the local tomcat apache server however it does not show anything except the standard Apache 404 error page. Here is the log for that case:
"C:\Program Files\Java\jdk1.8.0_144\bin\java" -Dcatalina.base=C:\Users\dhogue\.IntelliJIdea2017.1\system\tomcat\Unnamed_src-cas_2 "-Dcatalina.home=C:\Tomcat 70" "-Djava.io.tmpdir=C:\Tomcat 70\temp" -Dcom.sun.management.jmxremote= -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=127.0.0.1 -cp "C:\Tomcat 70\bin\bootstrap.jar;C:\Tomcat 70\bin\tomcat-juli.jar" org.apache.catalina.startup.Bootstrap start
[2017-09-27 01:11:17,832] Artifact src-cas:war: Server is not connected. Deploy is not available.
Sep 27, 2017 1:11:19 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version: Apache Tomcat/7.0.63
Sep 27, 2017 1:11:19 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built: Jun 30 2015 08:08:33 UTC
Sep 27, 2017 1:11:19 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number: 7.0.63.0
Sep 27, 2017 1:11:19 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name: Windows 7
Sep 27, 2017 1:11:19 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version: 6.1
Sep 27, 2017 1:11:19 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture: amd64
Sep 27, 2017 1:11:19 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home: C:\Program Files\Java\jdk1.8.0_144\jre
Sep 27, 2017 1:11:19 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version: 1.8.0_144-b01
Sep 27, 2017 1:11:19 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor: Oracle Corporation
Sep 27, 2017 1:11:19 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE: C:\Users\dhogue\.IntelliJIdea2017.1\system\tomcat\Unnamed_src-cas_2
Sep 27, 2017 1:11:19 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME: C:\Tomcat 70
Sep 27, 2017 1:11:19 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=C:\Users\dhogue\.IntelliJIdea2017.1\system\tomcat\Unnamed_src-cas_2
Sep 27, 2017 1:11:19 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=C:\Tomcat 70
Sep 27, 2017 1:11:19 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.io.tmpdir=C:\Tomcat 70\temp
Sep 27, 2017 1:11:19 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcom.sun.management.jmxremote=
Sep 27, 2017 1:11:19 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcom.sun.management.jmxremote.port=1099
Sep 27, 2017 1:11:19 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcom.sun.management.jmxremote.ssl=false
Sep 27, 2017 1:11:19 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
Sep 27, 2017 1:11:19 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.rmi.server.hostname=127.0.0.1
Sep 27, 2017 1:11:19 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.8.0_144\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\phantomjs-2.1.1-windows\bin;C:\Program Files\jscoverage-0.5.1;C:\Ruby22-x64\bin;C:\Program Files\apache-ant-1.9.9/bin;C:\Program Files\apache-maven-3.0.4\bin;C:\ProgramData\Oracle\Java\javapath;c:\Program Files (x86)\AMD APP\bin\x86_64;c:\Program Files (x86)\AMD APP\bin\x86;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;c:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\TortoiseSVN\bin;C:\Program Files\MySQL\MySQL Utilities 1.6\;C:\Program Files (x86)\Skype\Phone\;.
Sep 27, 2017 1:11:19 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-9090"]
Sep 27, 2017 1:11:19 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-9009"]
Sep 27, 2017 1:11:19 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 929 ms
Sep 27, 2017 1:11:19 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Sep 27, 2017 1:11:19 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.63
Sep 27, 2017 1:11:19 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-9090"]
Sep 27, 2017 1:11:19 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-9009"]
Sep 27, 2017 1:11:19 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 54 ms
Connected to server
[2017-09-27 01:11:19,924] Artifact src-cas:war: Artifact is being deployed, please wait...
Sep 27, 2017 1:11:22 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(C:\Tomcat 70\webapps\ROOT\WEB-INF\lib\el-api-2.2.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/el/Expression.class
Sep 27, 2017 1:11:29 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Tomcat 70\webapps\manager
Sep 27, 2017 1:11:29 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Sep 27, 2017 1:11:30 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory C:\Tomcat 70\webapps\manager has finished in 195 ms
Sep 27, 2017 1:11:30 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Sep 27, 2017 1:11:30 PM org.apache.catalina.core.ApplicationContext log
INFO: 1 Spring WebApplicationInitializers detected on classpath
[2017-09-27 01:11:30,468] Artifact src-cas:war: Artifact is deployed successfully
[2017-09-27 01:11:30,468] Artifact src-cas:war: Deploy took 10,544 milliseconds
Whenever I try to run it with the cas-server-webapp-tomcat dependency no matter what I've tried, I've always ended up with an error as shown in the following log: Error with cas-server-webapp-tomcat
Here is my current Pom file...excuse the mess: cas.pom
IDE: IntelliJ IDEA
Not sure what else would be needed, ask and I'll provide whatever you need to help me.
Two things stand out to me:
cas-server-webapp-tomcat contains an embedded tomcat container. If you are using an external one, use cas-server-webapp.
It looks like your external tomcat is 7.x. You need at least Tomcat 8.
https://apereo.github.io/cas/5.1.x/installation/Configuring-Servlet-Container.html

Can i install / use nuget if my documents folder is on a shared drive?

I see a number of issues on the nuget forum around not being able to install if your My documents folder is on a shared drive. If I don't have the flexibility to change this (locked down policy) is there any way i can use nuget?
Here is the error i get when trying to install it from the VS Extension Manager:
The system cannot find the path specified. (Exception from HRESULT:
The VS log file shows:
3/23/2012 9:45:26 PM - Microsoft Visual Studio Extension Installer
3/23/2012 9:45:26 PM - -------------------------------------------
3/23/2012 9:45:26 PM - Initializing Install...
3/23/2012 9:45:26 PM - Extension Details...
3/23/2012 9:45:26 PM - Identifier : NuPackToolsVsix.Microsoft.67e54e40-0ae3-42c5-a949-fddf5739e7a5
3/23/2012 9:45:26 PM - Name : NuGet Package Manager
3/23/2012 9:45:26 PM - Author : Microsoft Corporation
3/23/2012 9:45:26 PM - Version : 1.6.21215.9133
3/23/2012 9:45:26 PM - Description : A collection of tools to automate the process of downloading, installing, upgrading, configuring, and removing packages from a VS Project.
3/23/2012 9:45:26 PM - Locale : en-US
3/23/2012 9:45:26 PM - MoreInfoURL : http://docs.nuget.org/
3/23/2012 9:45:26 PM - InstalledByMSI : False
3/23/2012 9:45:26 PM - MinFramework : 4.0
3/23/2012 9:45:26 PM - MaxFramework : 4.0
3/23/2012 9:45:26 PM -
3/23/2012 9:45:26 PM - Supported Visual Studio Editions :
3/23/2012 9:45:26 PM - Version : 10.0
3/23/2012 9:45:26 PM - Pro
3/23/2012 9:45:26 PM - IntegratedShell
3/23/2012 9:45:26 PM - VWDExpress
3/23/2012 9:45:26 PM - VPDExpress
3/23/2012 9:45:26 PM - Version : 11.0
3/23/2012 9:45:26 PM - Pro
3/23/2012 9:45:26 PM - IntegratedShell
3/23/2012 9:45:26 PM - VWDExpress
3/23/2012 9:45:26 PM - VPDExpress
3/23/2012 9:45:26 PM -
3/23/2012 9:45:26 PM - Supported Isolated Shells :
3/23/2012 9:45:26 PM -
3/23/2012 9:45:26 PM - References :
3/23/2012 9:45:26 PM -
3/23/2012 9:45:26 PM - System.IO.DirectoryNotFoundException: The system cannot find the path specified. (Exception from HRESULT: 0x80070003)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.VisualStudio.Settings.ExternalSettingsManager.GetScopePaths(String applicationPath, String suffixOrName, Boolean isLogged, Boolean isForIsolatedApplication)
at Microsoft.VisualStudio.Settings.ExternalSettingsManager.CreateForApplication(String applicationPath)
at VSIXInstaller.App.GetExtensionManager(SupportedVSSKU sku)
at VSIXInstaller.App.GetExtensionManagerForApplicableSKU(SupportedVSSKU supportedSKU, IInstallableExtension installableExtension, List`1 applicableSKUs)
at VSIXInstaller.App.InitializeInstall()
at VSIXInstaller.App.OnStartup(StartupEventArgs e)
I was facing a similar issue and the various suggestions about CasPol and loadFromRemoteSources failed; here's what worked for me (on Windows 7 sp1):
Uninstall the current NuGet extension
Close Visual Studio
Open up a registry editor and navigate to HKEY_CURRENT-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\
The Personal key will show the shared folder as its value
Amend that value to a local drive location, e.g. C:\Temp\
Don't close regedit as you'll be changing it back in a moment
Open Visual Studio
it might complain about not finding certain settings, but I just clicked through the warnings
Install the NuGet extension
at least for me, this all happened smoothly in exactly the way that wasn't happening before
Quit Visual Studio
Revert the Personal registry value back to its previous state
Restart Visual Studio
... et voilà!
I don't tested this myself, but you can try to modify C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe.config file and include loadFromRemoteSources element:
<loadFromRemoteSources enabled="true"/>
at the location <configuration> \ <runtime>. Additionally you can try to verify that no other old version NuGet is installed. You should start Visual Studio 2010 shortcut with context menu and choose "Run as administrator" to be sure that you can uninstall it.
Additionally you can consider to add "FullTrust" to the share for the .NET
CasPol.exe -m -ag 1.2 -url file://ServerName/ShareName/* FullTrust
Try to set your Environment Variable Path in the MyComputer's System Properties > Advance tab
The only thing I know NuGet installs under "My Documents" is the following:
%LocalAppData\NuGet <-- here you usually find the default cache folder
%AppData\NuGet <-- here you find the machine-level nuget.config file
Can you check if these folders are there?
Just a theory, but if not, maybe you can create those folders yourself and retry the installation?
If you have redirected folders.... then something is borked.
Workaround:
Choose menu Start → All Programs → Accessories, right-click on Command Prompt, and choose Run As Administrator. Type subst Z: "C:\Windows" and press Enter (Z is your redirected folder path).
Run your stuff again.
The "fix": http://support.microsoft.com/kb/886549

Resources