[ 
https://issues.apache.org/jira/browse/PHOENIX-7290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17831199#comment-17831199
 ] 

Istvan Toth commented on PHOENIX-7290:
--------------------------------------

I have seen this error message in IDEs, where a full project rebuild ususally 
fixed it.

There is some classloader skullduggery in the Phoenix JDBC entry points which 
is probably releated.
Maybe we need to perform the same the same when loading that class.

Do you have a full stack trace, [~zidanej] ?

> Cannot load or instantiate class 
> org.apache.phoenix.query.DefaultGuidePostsCacheFactory
> ---------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-7290
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7290
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Jeff
>            Priority: Major
>
> Recently we're trying to update to phoenix 5.1.3 and we're running into an 
> issue.
> {code:java}
> org.apache.phoenix.exception.PhoenixNonRetryableRuntimeException: Could not 
> load/instantiate class org.apache.phoenix.query.DefaultGuidePostsCacheFactory 
> {code}
> I believe there are other areas where this has been brought up such as in SO:
> [https://stackoverflow.com/questions/73194696/phoenixnonretryableruntimeexception-could-not-load-instantiate-class-org-apache]
> The issue seems to have been introduced in 5.1.0, anything in 4.8 or below 
> seems to work fine.  
> Steps to reproduce:
>  # Use Squirrel SQL 4.7.1
>  # Create the drivers and load phoenix 5.1.3 into the class path
>  # Define alias and test connection



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to